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
[4146]
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...}]}]
Pekr
28-Dec-2009
[4185]
start 29-Dec-2009/1:12:59+1:00 ["vertuzo" 5401 1.2.13 29-Dec-2009/1:12:59+1:00]
Carl
28-Dec-2009
[4186]
So, this indicates that it works (from here).
Pekr
28-Dec-2009
[4187]
log.txt shows no more detail though ...
Carl
28-Dec-2009
[4188x5]
Ah... very interesting...
my log.txt shows:

start 28-Dec-2009/16:12:29-8:00 ["testtest" 5400 1.2.18 28-Dec-2009/16:12:29-8:00]
so, version number is different.
Maybe the bug is that the server does not apply the recent patches.
Download 1.2.18, and try again.  This will tell us.
Pekr
28-Dec-2009
[4193]
website shows 1.2.15, is that correct?
Carl
28-Dec-2009
[4194x2]
Try it.
brb