Jump to content

Races list updater


lil Toady

Recommended Posts

so ... *trying not to sound ungratefull*

why didn't anyone make this a year ago ? (and when i asked about it got told it was really hard/impossible to fix the unknown map/will be fixed in next version - even when i specifically asked for a mirc workaround like this)

other than that - good job

I Asked the same and was told by a few that it wasnt possible.

I'd Never noticed any lost maps/Unknown's Until i wrote the PRS.

the only way to fix it is to do this and even this could do the exact same and you could end up never getting one of the maps names, its possible, but not very likely. you all know why this happens and there isn't a very efficient way to fix it but it is already fixed in dm

Link to comment
  • 5 months later...

I isolated where it goes wrong in my script at the moment (as a seperate file)

i have no idea whats supposed to be fixed at

!bset &b 1 109 0 $did(mta,$1 $+ 22) $mta.dex($did(mta,$1 $+ 12)) 124 $mta.dex(mta.races. $+ $rand(1000,9999)) 0

invalid parameters : $did (line 30 , *.mrc)

(ps .. im at 6000 maps know .. i wonder what happens after 9999 ;) )

Link to comment
I isolated where it goes wrong in my script at the moment (as a seperate file)

i have no idea whats supposed to be fixed at

!bset &b 1 109 0 $did(mta,$1 $+ 22) $mta.dex($did(mta,$1 $+ 12)) 124 $mta.dex(mta.races. $+ $rand(1000,9999)) 0

invalid parameters : $did (line 30 , *.mrc)

(ps .. im at 6000 maps know .. i wonder what happens after 9999 ;) )

lol those numbers have nothing to do with map count, that rand(1000,9999) gives the updater a unique admin name like 'mta.races.5125'

don't actually remember what tho $did things set their, probably password and.. hmm and something :D look the *22 and *12 ids in mtama dialog to know what they get from it

Link to comment

item "S&et password", 12, 6

item "&About...", 22, 21

?

k ? .. now what?

edit .. in a hunch i tried 119 of

text "Name:", 119, 244 18 27 8, tab 100 right

and 53 of

item "[ ] &Text Nickname", 53, 10

but .. im pretty lost here

oh ..and it didnt work

im not to sure what the whole line 31 does .. but if you say password i suspect its a connection string

im willing to set it manually with the username password hardcoded to try

but im not too sure how it will look like

so far i've sticked to changing numbers and ading mta.text to identify what parts it did and didnt do

Link to comment

  
  on *:SIGNAL:mta.text: { 
  if (a isin $3-) mta.races.update $1 
  if (e isin $3-) mta.races.update $1 
  if (i isin $3-) mta.races.update $1 
  if (k isin $3-) mta.races.update $1 
  if (m isin $3-) mta.races.update $1 
  if (j isin $3-) mta.races.update $1 
  if (l isin $3-) mta.races.update $1 
  if (n isin $3-) mta.races.update $1 
  if (1 isin $3-) mta.races.update $1 
  if (2 isin $3-) mta.races.update $1 
  if (6 isin $3-) mta.races.update $1 
  if (y isin $3-) mta.races.update $1 
} 
  
on *:SIGNAL:mta.join: { 
  mta.races.update $1 
} 
  
on *:SIGNAL:mta.finish: { 
  mta.races.update $1 
} 
  
on *:SIGNAL:mta.death: { 
  mta.races.update $1 
} 
  

Your update script alone does nothing in my server. So i wrote this. Gets all my 560 maps in 5-10 mins ^^. Im sure u pro scripters can make it smaller but im noob at scripting :D

Link to comment

in short : help me get this updater working pretty please :oops:

i know i might be asking for a lot .. but can anyone help me make this update thing working. it would be brilliant if the server gets each mapname at the beginning of a race so the records are stored always .. instead of about 1 - 5% of the times

Link to comment

i know i might be asking for a lot .. but can anyone help me make this update thing working. it would be brilliant if the server gets each mapname at the beginning of a race so the records are stored always .. instead of about 1 - 5% of the times

I can't help you with the Races list updater, but maybe you want to try my own workaround for unknown maps: viewtopic.php?t=19281

Link to comment
  • 8 months later...

I have one question.

alias mta.races.check { 
  var %a = $ini($mta.dir $+ $1.ini,Races,$ini($mta.dir $+ $1.ini,Races,0)) 
  if (%a > $ini($mta.dir $+ $1.ini,Races,0)) {  
    mta.text $1 Updating the race list. 
    mta.races.update $1 
  } 
} 

  var %a = $ini($mta.dir $+ $1.ini,Races,$ini($mta.dir $+ $1.ini,Races,0)) 
  

And I have this same error every time:

"Invalid parameters: $ini (line 32, racelistupdater.mrc)"

I have only 100 maps from 136 and I want to read everything.

Thanks for help to this code to work.

Link to comment
  • 2 weeks later...

Hi. Racelist updater looks nice, but i dont know hou to use it ;(

I tried on many ways. Could someone explain this to me ??

I've got limit 410 maps, and this is ok. but other admin who wants to host has only 30 maps :o

*

I loaded file racelistupdater.mrc into mirc (v.1.1 by lil Toady), and using scripts (1.3 by Scooby).

Something wrong? :roll:

Link to comment

Hi. Racelist updater looks nice, but i dont know hou to use it ;(

I tried on many ways. Could someone explain this to me ??

I've got limit 410 maps, and this is ok. but other admin who wants to host has only 30 maps :o

*

I loaded file racelistupdater.mrc into mirc (v.1.1 by lil Toady), and using scripts (1.3 by Scooby).

Something wrong? :roll:

Link to comment
Hi. Racelist updater looks nice, but i dont know hou to use it ;(

I tried on many ways. Could someone explain this to me ??

I've got limit 410 maps, and this is ok. but other admin who wants to host has only 30 maps :o

*

I loaded file racelistupdater.mrc into mirc (v.1.1 by lil Toady), and using scripts (1.3 by Scooby).

Something wrong? :roll:

All the maps need to be with the server.

The race list updater tries to retrieve any missing maps that are lost when u first connect mtama to ur server.

when the script is loaded it *should* attempt to find any missing maps when u connect,

however any admin can also type !updateraces to force it to recheck.

u say u have 410 maps, but when u connect only 380 might be found by mtama,

this script will help to update any missing maps.

Link to comment
Hi. Racelist updater looks nice, but i dont know hou to use it ;(

I tried on many ways. Could someone explain this to me ??

I've got limit 410 maps, and this is ok. but other admin who wants to host has only 30 maps :o

*

I loaded file racelistupdater.mrc into mirc (v.1.1 by lil Toady), and using scripts (1.3 by Scooby).

Something wrong? :roll:

All the maps need to be with the server.

The race list updater tries to retrieve any missing maps that are lost when u first connect mtama to ur server.

when the script is loaded it *should* attempt to find any missing maps when u connect,

however any admin can also type !updateraces to force it to recheck.

u say u have 410 maps, but when u connect only 380 might be found by mtama,

this script will help to update any missing maps.

Link to comment
  • 3 months later...
  • 6 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...