r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!AltME] Discussion about AltME

Pekr
28-Dec-2009
[4135]
208.127.222.200
Carl
28-Dec-2009
[4136x3]
Yes, live ping is just altme packet indicating server is running.
Ok, correct.
BTW, the port is 5502, not 5500.
Pekr
28-Dec-2009
[4139]
so, how could it "not to ping" actually?
Carl
28-Dec-2009
[4140]
That is a suprise to me.... I thought it was 5500.
Pekr
28-Dec-2009
[4141x3]
well, you might be lucky, because most of networks don't block outgoing 
connections ... but those who do, will not be able to get to the 
network.
I also always wondered, why proxy does not work, if we have it available 
:-) (but that's different topic)
In the client log, I can see sometimes - wns 26-Oct-2009/9:28:23+1:00 
["find" "Vertuzo" lookup expired]
Carl
28-Dec-2009
[4144]
Ah... good idea. In the log config, add wns-ping monitoring.
Pekr
28-Dec-2009
[4145x2]
how do I add it?
the beacon - should be done by my client, or my server? I mean - 
I could install Wireshark, and filter for packets on port 5500, to 
see, if it "pings"
Carl
28-Dec-2009
[4147x2]
1 min
in altme/prefs/prefs.txt, add the line:

debug: [events: [boot error note start halt wns wns-ping]]
Pekr
28-Dec-2009
[4149]
on my client, or the server?
Carl
28-Dec-2009
[4150]
server... but, wait a min...
Pekr
28-Dec-2009
[4151]
should I restart my servers?
Carl
28-Dec-2009
[4152x2]
actually, it's:  altme/prefs/debug  (no suffix, but as a text file)
Then, in that file:

events: [boot error ... above list  ]
restart just one server
Pekr
28-Dec-2009
[4154]
so should I delete the debug line from prefs.txt?
Carl
28-Dec-2009
[4155x2]
btw, altme will notice the debug file, and rewrite it with all debug 
fields
correct, remove that line.
Pekr
28-Dec-2009
[4157x2]
done - world Vertuzo restarted, Xidys runs the old way. Vertuzo runs 
on port 5402
sorry, vertuzo is 5401
Carl
28-Dec-2009
[4159]
is it running?
Pekr
28-Dec-2009
[4160x2]
yes, it is ...
I can connect from remote client
Carl
28-Dec-2009
[4162x2]
I wonder how that is possible?
The log does not show that the world started. So, there is a problem 
on port 5502.
Pekr
28-Dec-2009
[4164]
outgoing port 5502?
Carl
28-Dec-2009
[4165x3]
yes.
wait... nevermind. That's for an experimental build.
It's 5500 as documented.
Pekr
28-Dec-2009
[4168]
I try to look at netstat -an on that machine, but nothing obvious 
....
Carl
28-Dec-2009
[4169]
look at log file.
Pekr
28-Dec-2009
[4170x2]
btw - debug file did not change ...
servers/vertuzo/log.txt?
Carl
28-Dec-2009
[4172x2]
yes
look for line that begins with wns
Pekr
28-Dec-2009
[4174x3]
nothing logged ...
altme/prefs/debug (no suffix), added following line:

events: [boot error note start halt wns wns-ping]
is that correct? Then I restarted one world - Vertuzo, port 5401
Carl
28-Dec-2009
[4177x6]
verifying, 1 min
ok, my mistake. Servers don't use the normal client prefs. Here are 
the steps...
move your debug file to the altme/servers/vertuzo directory, then 
restart the world
btw, remove the debug file from your other dir, or your clients may 
log too much info
After startup, debug file is:
; AltME Debugging and Logging Options
debug: 0
file: %log.txt
events: [boot error note start halt wns wns-ping]
echo: none
net: none
time: none
log.txt shows:
...
wns 28-Dec-2009/16:12:29-8:00 ["open" "testtest" 5400]
wns 28-Dec-2009/16:12:31-8:00 ["close" "testtest" lookup ok]
wns-ping 28-Dec-2009/16:13:31-8:00 [open]
wns-ping 28-Dec-2009/16:13:31-8:00 [lookup]
Pekr
28-Dec-2009
[4183]
debug rewritten, good sign ...
Carl
28-Dec-2009
[4184]
WNS log shows:

command 28-Dec-2009/16:12:30-8:00 [75.101.29.32 {cmd: open data: 
["testtest" 0]}]

command 28-Dec-2009/16:13:31-8:00 [75.101.29.32 {cmd: live data: 
["testtest" 64#{OD...}]}]