Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 08.04.2006, 17:17   #1
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default [Share ½] Monster Race

i can't find my scripts (htmls, skilldata, fstring, thats why i put ½ :P) but i'm gonna post them as soon as i find them.

npc cast a skill at the beggining, random skill so it can increase or decrease speed, it was coded for c3 so skills ids should be changed.
then its necessary to create a new castle (castledata) with the race_manager there, this will create a new row in castle db. the info saved there is use to calculate the prizes.

i recommend to read the code because i'm sure it need to be fixed somewhere. timers are wrong, are set to fast race, no pre race waiting.

and this was coded for original nasc, so i'm sure it can be optimized now.

fstring
Code:
33320	[We are now selling tickets for the Monster Race]
33321	[Tickets sales for Monster Race will cease in %s minute(s)]
33322 [Tickets sales are closed]
33323 [The Moster Race will begin in %s second(s)!]
33324 [They're off!]
33325 [First prize goes to the player in lane %s]
33326 [Second prize goes to the player in lane %s]
33327 [%s]
33328 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?ask=3&reply=1">]
33329 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?ask=3&reply=2">]
33330 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?ask=3&reply=3">]
33331 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?ask=3&reply=4">]
33332 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?ask=3&reply=5">]
33333 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?ask=3&reply=6">]
33334 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?ask=3&reply=7">]
33335 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?ask=3&reply=8">]
33336 [[img]L2UI.rightBtn2[/img]]
33337 [<button value="Select Quantity" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton">]
33338 [<button action="bypass -h menu_select?ask=11" value="Select Quantity" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton">]
33339 [<button action="bypass -h menu_select?ask=12" value="Select Quantity" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton">]
33340 [<button action="bypass -h menu_select?ask=13" value="Select Quantity" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton">]
33341 [<button action="bypass -h menu_select?ask=14" value="Select Quantity" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton">]
33342 [<button action="bypass -h menu_select?ask=15" value="Select Quantity" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton">]
33343 [<button action="bypass -h menu_select?ask=16" value="Select Quantity" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton">]
33344 [<button action="bypass -h menu_select?ask=17" value="Select Quantity" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton">]
33345 [<button action="bypass -h menu_select?ask=18" value="Select Quantity" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton">]
33346 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?reply=1&ask=]
33347 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?reply=2&ask=]
33348 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?reply=3&ask=]
33349 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?reply=4&ask=]
33350 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?reply=5&ask=]
33351 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?reply=6&ask=]
33352 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?reply=7&ask=]
33353 [<button back="L2UI.rightBtn2" fore="L2UI.rightBtn1" width=16 height=16 action="bypass -h menu_select?reply=8&ask=]
33354 [<button value="Confirm" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton]
33355 [<button value="Confirm" width=70 height=21 back="L2UI.DefaultButton_click" fore="L2UI.DefaultButton" action="bypass -h menu_select?]
33356 [<img src="L2UI.rightBtn2" width="16" height="16]
Sauron is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:32.