Jump to content

-]alw[-Monk

Members
  • Posts

    20
  • Joined

  • Last visited

Details

  • Gang
    DRuG
  • Location
    Washington DC
  • Occupation
    Graduate Student
  • Interests
    MTA Microelectromechanical Systems (MEMS) Guitar music Chinese

-]alw[-Monk's Achievements

Civilian

Civilian (7/54)

0

Reputation

  1. Aeron this might help I added an echo line (line 22 below) in mta.mrc to debug: 21: !writeini -n $+(",$scriptdir,%a,.ini") $bvar(&a,%b) Nicks 1 22: echo ID: $bvar(&a,%b) b = %b c = %c b + 8 = $calc(%b + c - b - 8: $calc(%c - %b - 23: !writeini -n $+(",$scriptdir,%a,.ini") $bvar(&a,%b) Nick1 $+(",$bvar(&a,$calc(%b + ,$calc(%c - %b - ).text,") And got the following output on connect: ID: 0 b = 66 c = 87 b + 8 = 74 c - b - 8: 13 ID: 10 b = 88 c = 103 b + 8 = 96 c - b - 8: 7 ID: 5 b = 104 c = 124 b + 8 = 112 c - b - 8: 12 ID: 2 b = 125 c = 147 b + 8 = 133 c - b - 8: 14 ID: 13 b = 148 c = 157 b + 8 = 156 c - b - 8: 1 ID: 16 b = 158 c = 177 b + 8 = 166 c - b - 8: 11 ID: 3 b = 178 c = 201 b + 8 = 186 c - b - 8: 15 ID: 1 b = 202 c = 208 b + 8 = 210 c - b - 8: -2 ***** NOTICE NEGATIVE NUMBER ID: 68 b = 209 c = 221 b + 8 = 217 c - b - 8: 4 ID: 11 b = 222 c = 246 b + 8 = 230 c - b - 8: 16 ID: 12 b = 247 c = 258 b + 8 = 255 c - b - 8: 3 ID: 19 b = 259 c = 282 b + 8 = 267 c - b - 8: 15 ID: 8 b = 283 c = 296 b + 8 = 291 c - b - 8: 5 ID: 25 b = 297 c = 311 b + 8 = 305 c - b - 8: 6 ID: 26 b = 312 c = 323 b + 8 = 320 c - b - 8: 3 ID: 17 b = 324 c = 346 b + 8 = 332 c - b - 8: 14 ID: 7 b = 347 c = 361 b + 8 = 355 c - b - 8: 6 ID: 20 b = 362 c = 376 b + 8 = 370 c - b - 8: 6 ID: 22 b = 377 c = 394 b + 8 = 385 c - b - 8: 9 ID: 23 b = 395 c = 411 b + 8 = 403 c - b - 8: 8 ID: 27 b = 412 c = 424 b + 8 = 420 c - b - 8: 4 ID: 28 b = 425 c = 447 b + 8 = 433 c - b - 8: 14 ID: 9 b = 448 c = 461 b + 8 = 456 c - b - 8: 5 ID: 29 b = 462 c = 479 b + 8 = 470 c - b - 8: 9 ID: 30 b = 480 c = 498 b + 8 = 488 c - b - 8: 10 ID: 6 b = 499 c = 513 b + 8 = 507 c - b - 8: 6 ID: 4 b = 514 c = 532 b + 8 = 522 c - b - 8: 10 ID: 24 b = 533 c = 545 b + 8 = 541 c - b - 8: 4 ID: 31 b = 546 c = 570 b + 8 = 554 c - b - 8: 16 ID: 15 b = 571 c = 591 b + 8 = 579 c - b - 8: 12 I confirmed that ID#1's name was NOT visible in to mtama ans was missing in 1.ini... Looking under remote admin, ID 1's name was "Desert_King" So clearly from the code we can see that the error occurs when (%c - %b - < 0, which makes sense since you can't do bvar on neg. numbers (I don't believe?) Clearly there is some problem w/ remote admin protocol and its communication with mtama. Please help if you can b/c this part of the script is imperative for what I'd like to do... I tested what would happen if I detected the negative number and replaced it with 0, 1 and length(&a), but nothing worked. Any ideas?
  2. Aeron, thanks for the reply. I had a feeling that's what was happening... I'm not sure what was the problem.. I'll try to debug by having mIRC spit out the raw data for usernames and see if I can't pin down the error... I did notice that a fairly normal name "Sampson" or something got lost a few times (found by comparing the ID to the remote admin nick list). I'm going to try running mIRC on the same machine as the MTA server itself and see if that helps at all. Besides reconnecting, is there any way to ask the server to send the nicklist or the maplist? If so we could have mtama request the list until there are no errrors.
  3. Hi, I'm trying to get mta:ma 4.14 working, but I'm having a lot of problems that didn't occur in the previous release. I'm getting a writini error (insufficient parameters) on line 22 of mta.mrc This is the line is trying to pass: !writini 1.ini (userid) nick1 (username) But since the error is insufficient parms, either the userid or username cannot be found in the data sent from the server. Am I experiencing packetloss? The problem is that since the username isn't found, when $mta.nick is called for that userid, it sends an a2a BROADCAST "LOSTNICK" message. However, some users have been complaining that the script was sending pm to them with that message! I'm also getting a few LOSTMAP problems, and I have no idea how this is happening! If I look at 1.ini under [races] I see races 1-93 or something, and then race 150-234... It's just missing a random block in the middle? Then I disconnect and reconnect (to clear 1.ini and refresh maplist) and it's fine again. Any ideas what's causing this? It seems as though the servers information is getting jarbled. Btw I did noticed that if I changed: $bvar(&a,$calc(%b + ,$calc(%c - %b - ).text," to $+(",$bvar(&a,$calc(%b + ,$calc(%c - %b - ).text,") in line 22 it seemed to eliminate some of the LOSTNIC messages. However, over time.. I still noticed in my userlist that there were userIDs with no name. Any help is appreciated!
  4. It's the gamersedge.org server 70.86.170.170 Still haven't figured the map out yet though. It's only 4 of those stunt ramps things for 32 people = 128 objects and then the 32 spawn. Really shouldn't be too intensive, I've played maps with a lot more objects in a small area. I will, however, try shortening the course by removing the first objects... Might help. It might also be worth a shot to spread out the courses... Thanks for the tips.
  5. [edited] Whups. This was definately suppposed to be under a different thread
  6. I got this a few times by alt-tabbing during the intro movies. Not sure if it was the intro to the game or the nvidia ad... Either way when I alt tabbed back I saw both mta and single player options. I didn't try loading any games, the system was pretty unusable, so I just shut it down.
  7. Everything appears to be in the limits: Entry Info Nodes: 258/2300 (11%) Pointer node single links: 49381/70000 (70%) Pointer node double links: 594/3200 (18%) So it's close on the single links... but not over. The text is still white.
  8. A map was submitted to our server that I actually quite enjoy. However, two out of three times it crashed (to desktop) every client attached to the server around 10-30 seconds into the race. The server was not affected. The map is basically a motocycle balance race over water, so my only guess is that clients don't like everyone drowning at once. I just wanted to pass this to anyone who might tell me what's wrong and if there's anything to be done to fix this. Here is a link to the map and here it is in txt format (for browsers) Here is a screenshot of the map:
×
×
  • Create New...