ML_RACENOTFOUND

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Locked
algee2005
Peon
Posts: 25
Joined: Sun Jul 10, 2005 1:45 pm

ML_RACENOTFOUND

Post by algee2005 » Sun Jul 17, 2005 11:59 am

hey again, i tried my modified plugin a while (i removed 10 lines from the sma files that caused a player to get full startmoney when they respawn)

now it looks like i invited like 2000 more bugs... since i used the modified plugin, many people get this message when they gain levels and stuff:

ML_RACENOTFOUND

in logfiles i find this messages gettin spammed like crazy:

Code: Select all

L 07/17/2005 - 09:50:56: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 1 not found in raceskill function
L 07/17/2005 - 09:50:56: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 2 not found in raceskill function
L 07/17/2005 - 09:50:56: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 3 not found in raceskill function
L 07/17/2005 - 09:50:56: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 4 not found in raceskill function
L 07/17/2005 - 10:06:28: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 1 not found in raceskill function
L 07/17/2005 - 10:06:28: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 2 not found in raceskill function
L 07/17/2005 - 10:06:28: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 3 not found in raceskill function
L 07/17/2005 - 10:06:28: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 4 not found in raceskill function
L 07/17/2005 - 10:06:28: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 1 not found in raceskill function
L 07/17/2005 - 10:06:28: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 2 not found in raceskill function
L 07/17/2005 - 10:06:28: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 3 not found in raceskill function
L 07/17/2005 - 10:06:28: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 4 not found in raceskill function
L 07/17/2005 - 10:06:28: [war3ft.amxx] [WAR3] ERROR, Race: 10, skill: 1 not found in raceskill function

Code: Select all

L 07/17/2005 - 10:06:31: [AMXX] Run time error 4 (index out of bounds) on line 379 (plugin "war3ft.amxx").
L 07/17/2005 - 10:06:31: [AMXX] Debug Trace =>
L 07/17/2005 - 10:06:31: [AMXX]       [0] Line 379, File "war3ft/XP.inl"
L 07/17/2005 - 10:06:31: [AMXX]       [1] Line 206, File "war3ft/war3ft.inl"
L 07/17/2005 - 10:06:31: [AMXX]       [2] Line 18, File "war3ft/clientCommands.inl"
L 07/17/2005 - 10:06:31: [AMXX]       [3] Line 78, File "war3ft/clientCommands.inl"
L 07/17/2005 - 10:06:32: [AMXX] Run time error 4 (index out of bounds) on line 379 (plugin "war3ft.amxx").
L 07/17/2005 - 10:06:32: [AMXX] Debug Trace =>
L 07/17/2005 - 10:06:32: [AMXX]       [0] Line 379, File "war3ft/XP.inl"
L 07/17/2005 - 10:06:32: [AMXX]       [1] Line 206, File "war3ft/war3ft.inl"
L 07/17/2005 - 10:06:32: [AMXX]       [2] Line 18, File "war3ft/clientCommands.inl"

Code: Select all

19:56:30 meta version
19:56:30 Metamod v1.17.4  2005/02/20
         by Will Day <[email protected]>
            http://www.metamod.org/
         compiled: Feb 19 2005, 20:56:51 +0100 (optimized)

Code: Select all

19:56:33 meta list
19:56:34 Currently loaded plugins:
               description      stat pend  file              vers      src  load  unlod
          [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.01     ini  ANY   ANY  
          [ 2] SBScan           RUN   -    sbsrv_mm.dll      v1.00     ini  Start Never
         2 plugins, 2 running

Code: Select all

19:57:10 AMX Mod X 1.01
         Authors: Felix "SniperBeamer" Geyer, David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko, Jonny "Got His Gun" Bergstrom, and Lukasz "SidLuke" Wlasinski.  (http://www.amxmodx.org)
         Compiled: Mar 11 2005, 17:30:03
         Core mode: JIT

Code: Select all

19:57:13 amxx modules
19:57:13 Currently loaded modules:
               name                    version  author               status     
          [ 1] Fun                     1.01     AMX Mod X Dev Team   running    
          [ 2] Engine                  1.01     AMX Mod X Dev Team   running    
          [ 3] MySQL                   1.01     AMX Mod X Dev Team   running    
          [ 4] CStrike                 1.01     AMX Mod X Dev Team   running    
          [ 5] CSX                     1.01     AMX Mod X Dev Team   running    
          [ 6] War3ft                  2.2.3    Geesu (Pimp Daddy)   running    
         6 modules, 6 correct

Code: Select all

19:57:16 amxx plugins
19:57:16 Currently loaded plugins:
                name               version  author            file             status   
          [  1] Admin Base (SQL)   1.01     AMXX Dev Team     admin_sql.amxx   debug    
          [  2] Admin Commands     1.01     AMXX Dev Team     admincmd.amxx    debug    
          [  3] Admin Help         1.01     AMXX Dev Team     adminhelp.amxx   debug    
          [  4] Slots Reservation  1.01     AMXX Dev Team     adminslots.amxx  debug    
          [  5] Multi-Lingual Sys  1.01     AMXX Dev Team     multilingual.am  debug    
          [  6] Menus Front-End    1.01     AMXX Dev Team     menufront.amxx   debug    
          [  7] Commands Menu      1.01     AMXX Dev Team     cmdmenu.amxx     debug    
          [  8] Players Menu       1.01     AMXX Dev Team     plmenu.amxx      debug    
          [  9] Maps Menu          1.01     AMXX Dev Team     mapsmenu.amxx    debug    
          [ 10] Admin Chat         1.01     AMXX Dev Team     adminchat.amxx   debug    
          [ 11] Anti Flood         1.01     AMXX Dev Team     antiflood.amxx   debug    
          [ 12] Scrolling Message  1.01     AMXX Dev Team     scrollmsg.amxx   debug    
          [ 13] Info. Messages     1.01     AMXX Dev Team     imessage.amxx    debug    
          [ 14] Admin Votes        1.01     AMXX Dev Team     adminvote.amxx   debug    
          [ 15] NextMap            1.01     AMXX Dev Team     nextmap.amxx     debug    
          [ 16] TimeLeft           1.01     AMXX Dev Team     timeleft.amxx    debug    
          [ 17] Pause Plugins      1.01     AMXX Dev Team     pausecfg.amxx    debug    
          [ 18] Stats Configurati  1.01     AMXX Dev Team     statscfg.amxx    debug    
          [ 19] StatsX             1.01     AMXX Dev Team     statsx.amxx      debug    
          [ 20] CS Misc. Stats     1.01     AMXX Dev Team     miscstats.amxx   debug    
          [ 21] CS Stats Logging   1.01     AMXX Dev Team     stats_logging.a  debug    
          [ 22] Warcraft 3 Frozen  2.2.4    Pimp Daddy (OoTO  war3ft.amxx      debug    
          [ 23] Jedi Force Grab    1.6.2    SpaceDude         jedigrab.amxx    debug    
          [ 24] DeagsMapManage     2.27d    Deags             mapmanage.amxx   debug    
          [ 25] unknown            unknown  unknown           mapconfig.amxx   bad load 
          [ 26] AFK KiSSS          2.5.0    Isobold & Cheesy  afkkicker.amxx   debug    
         Load fails: Plugin uses an unknown function (name "regex_match") - check your modules.ini. (plugin "mapconfig.amxx")
         26 plugins, 25 running
i have replaced the modified plugin with the original one again, but the problem is still there :S

how can i get rid of this?

i did not check further in the source code cuz its HUGE :shock:

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Sun Jul 17, 2005 12:48 pm

there isn't a race 10 :P

You changed some code you shouldn't have methinks..

Or you set FT_races to 10 in your war3ft.cfg ?

User avatar
nightscream
Sorceress
Posts: 319
Joined: Wed Jul 06, 2005 12:54 pm
Location: Belguim, Hallaar
Contact:

Post by nightscream » Sun Jul 17, 2005 4:18 pm

hehe lol sry but i think this is funny
maybe put in the faq how many races there are

and is this in the right forum because i tought he was saying about
warcraft 3 FT and when i look above i see
Warcraft 3 MODs for Half-Life Forum Index -> Warcraft 3 Expansion - Help/Support
want help pm me
Image

algee2005
Peon
Posts: 25
Joined: Sun Jul 10, 2005 1:45 pm

Post by algee2005 » Mon Jul 18, 2005 1:39 am

huh sorry when i posted in the wrong section :oops:

i only edited the file other.inl -> removed the lines 416-426. i can send you the modified source code if you want...

we used FT_races 8, but then people wanted the 5 race version. now, since the modified plugin is causing trouble, i have set it to 4 races so people can't get in shopmenu2, to fix the respawn-fullmoney-bug.

but the problem is still there!
it looks like when people dont choose their race correctly (however they can do this) they get this ML_RACENOTFOUND
when i come in server and i dont pay attention to set my race, it obviously auto-assigns me to a race that isnt there -> hence the 10th race.
i get xp for that unknown race and i can choose levels when i get enough xp to level up.

i will have a try, lock the server, save the xp away and reset it, then i will put the modified one in again to see if the problems really comes from the plugin.

User avatar
nightscream
Sorceress
Posts: 319
Joined: Wed Jul 06, 2005 12:54 pm
Location: Belguim, Hallaar
Contact:

Post by nightscream » Mon Jul 18, 2005 7:56 am

just download the .sma and inl back
and it's normal if you have 4 races only 1 shopmenu can be used
want help pm me
Image

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Mon Jul 18, 2005 9:08 am

What version are you running? What you changed in other.inl wouldn't cause that problem, I just looked.

B/c it auto assigns you to race 0, so it would look for ML_RACENOTFOUND0 and not 10.

algee2005
Peon
Posts: 25
Joined: Sun Jul 10, 2005 1:45 pm

Post by algee2005 » Mon Jul 18, 2005 10:28 am

i ran version 2.2.3, upgraded to version 2.2.4 with the modification.

meh, can the minor version change be the problem :shock: but right now it should be the version 2.2.3 again since i put it back in place after the problems accured. i will upload the original amxx file from the archive again to be 100% sure, i think i have got the version 2.2.3 yet somewhere on my hdd :P

ps i know about the shopmenu thingy, thats why we use 4 race version - people can not buy scroll and so people can not abuse it. in first place i modified the plugin to remove this bug, that people can not buy scroll over and over - but now i am stuck in some hell of errors :(

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Mon Jul 18, 2005 12:27 pm

hit me up on AIM if you can... wc3mods is the SN

algee2005
Peon
Posts: 25
Joined: Sun Jul 10, 2005 1:45 pm

Post by algee2005 » Mon Jul 18, 2005 2:12 pm

i will (when i get my aim running again, its tarded lately :/)
thx

algee2005
Peon
Posts: 25
Joined: Sun Jul 10, 2005 1:45 pm

Post by algee2005 » Tue Jul 19, 2005 9:41 am

its offline :(

Locked