I just launched the new steam site for this server: http://steamcommunity.com/groups/TDLRW
Posts by Absalom
A new update is now available, introducing a lot of new content!
Latest hotfix: 0.7.5.1 (2024-09-02)
Latest hotfix: 0.7.5.1 (2024-09-02)
-
-
-
Yup that fixed it. I didn't know about port 5001. I must have missed that somewhere but ensuring that port is open allowed me to turn hive verification back on.
-
I don't have outbound port 5001 open in my firewall. I'll bet that's the issue.
-
A different version of it is currently on The Deadlands, but only accessible by the admins. I am going to overlay it with the Dev's new script and move my /help command back into the new script tonight probably.
-
Look at the errors generated in the console. If you can't get the whole console output, change your batch file that you use to launch the jar. Add this to the end of the jar command " > log.txt 2>&1" without the quotes. That will redirect stdout and error output to the log.txt. Then you can examine the log and determine exactly why it is crashing immediately.
example:
java -jar server.jar > log.txt 2>&1 -
No problem. Enjoy!
YOu might want to look at some object oriented PHP tutorials or books, and modularize your app. For example, you could encapsulate the logic above in multiple objects if you want. A Server class could provide methods to get that data so that you could do something like $server = new Server(); then you can $playerList = $server->getPlayerList(); or something like that.
-
PHP
And just keep adding blocks of code as you need them for each request.
-
Yes. Each simplexml_load_string is building the $xml object. Once you have that object (i.e. $xml, $xmlDetails, $xmlPlayerList) then all you need to do is build a structure or structures from them. For example, from $xmlPlayers list, you could iterate through the players in the xml object, build an object of Player type (Player would be a class you write to represent a player with methods like setName and getName), and then use those player objects however you see fit (e.g. build a list of player objects to use to populate part of a web page).
-
That's just one xml document. You can get more by changing the URI portion of the URL like so:
http://win.thedeadlands.net:30499/playerlist
or
http://win.thedeadlands.net:30499/details
One of the devs said they expanded the data too. Not sure what else they added though.
-
PHP
-
If anyone is being a dick, it was the guy asking for help. People try to offer him help, and he's being rude...
You sure?Positive on my server anyway. When I turn it on, I get connection errors 100% and others complain as well.
-
Updated.
-
been rebooted. Sorry about that. I am going to set this up to be rebooted every 12 hours starting tonight.
-
thanks!
-
the server must disable the hive verification. It is not working.
-
I stole that idea from Rust. lol.
-
Yeah and that's in the plans too. A teleportation system where players can invite to be teleported and other players can accept. You can set home, have multiple home points, and teleport to any one of them a certain number of times per day, etc. It will be a separate set of scripts.
-
Quit drinking so much.
Build a PVC fishing raft before Crappie season starts.That's about it.
-
I think I answered part of my question. I can track the chunks that the player enters through the event "PlayerEnterChunk". If the player's position is a world position, I will have to figure out how to convert it to a position within a chunk.