Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/03/14 in all areas

  1. Use cahs points food, the food effect will remain after dead 12202,Str_Dish10_,Steamed Tongue,0,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_FOOD_STR_CASH,1800000,10; percentheal 15,5; },{},{} 12203,Agi_Dish10_,Steamed Scorpion,0,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_FOOD_AGI_CASH,1800000,10; percentheal 15,5; },{},{} 12204,Int_Dish10_,Dragon Breath Cocktail,0,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_FOOD_INT_CASH,1800000,10; percentheal 15,5; },{},{} 12205,Dex_Dish10_,Hwergelmir's Tonic,0,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_FOOD_DEX_CASH,1800000,10; percentheal 15,5; },{},{} 12206,Luk_Dish10_,Cooked Nine Tail's Tails,0,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_FOOD_LUK_CASH,1800000,10; percentheal 15,5; },{},{} 12207,Vit_Dish10_,Stew Of Immortality,0,2,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_FOOD_VIT_CASH,1800000,10; percentheal 15,5; },{},{} Good luck, hope this helps (:
    2 points
  2. hmm maybe using OnTouch is a bit buggy well, try prt_fild01,1,1,0 script #dummy_light 111,{ end; OnAttach: addrid 1; getmapxy .@map_npc$,.@x_npc,.@y_npc,1; getmapxy .@map$,.@x,.@y,0; if ( distance( .@x_npc,.@y_npc,.@x,.@y ) < 2 ) unitkill getcharid(3); end; } - script main_bolt -1,{ OnInit: while(1) { do { .@x = rand(1,400); .@y = rand(1,400); } while( !checkcell( "prt_fild01",.@x,.@y,cell_chkpass ) ); movenpc "#dummy_light",.@x,.@y; enablenpc "#dummy_light"; specialeffect EF_LIGHTBOLT,AREA,"#dummy_light";// seems doesn't work with sprite -1 disablenpc "#dummy_light"; if ( getareausers( "prt_fild01",(.@x-1),(.@y-1),(.@x+1),(.@y+1) ) > 0 ) donpcevent "#dummy_light::OnAttach"; sleep 30000; } }
    1 point
  3. this one is not the last one, there is an issue with this version. Whatever, just search jobchange : if (.@i==4001 && .LastJob) set lastJob, Class; jobchange .@i; if (.@i==4001 || .@i==4023) resetlvl(1); add resetstatus; if (.@i==4001 && .LastJob) set lastJob, Class; jobchange .@i; resetstatus; if (.@i==4001 || .@i==4023) resetlvl(1);
    1 point
  4. try prt_fild01,1,1,0 script #dummy 111,2,2,{ end; OnTouch: unitkill getcharid(3); } - script main_bolt -1,{ OnInit: while(1) { do { .@x = rand(400); .@y = rand(400); } while( !checkcell( "prt_fild01",.@x,.@y,cell_chkpass ) ); movenpc "#dummy",.@x,.@y; enablenpc "#dummy"; specialeffect EF_LIGHTBOLT,AREA,"#dummy"; sleep 1000; disablenpc "#dummy"; sleep 30000; } }
    1 point
  5. Jonne, currently the ER is really just to give us an idea, we would start to work on it to really have a real ER association and limit the duplicate by FN form. (take note that the way serv is done you could possibly have 3 sql-server so that another thing to look at). Now for you're question there different notation for this you could either put 0..1-1..n for exemple or simply 1-n, (you only retain the maximum), sure the previous is more explanotary as you may not want to retain your foreign key on the 0..1 table. (assuming you have a relation 0..1 - 1..1, you better put the FK in the 1..1 table ofc). Finally, the relation are somewhat the link of our different table, if we wanted integrity then those relation should exist. Now please not that since we using MyIasM they currently do not exist. This making the query faster but in other hand keep all kind of leftover in your table or even weird association. (but you could move the stuff as you please). Also an unfinished class diagram is present if you're interested, see doc/rathena.vpp, (yes visual paradigm)
    1 point
  6. Exactly :3 Just dont mess with the other ones lol
    1 point
  7. alright then replace 0 by 1 in if( compare( .@concat$, strcharinfo(3) ) == 0 ){
    1 point
  8. prontera,155,181,4 script Sample#point 757,{ if( #POINT1 < 50 ){ mes "you need 50 point 1 to change to point 2"; } else{ .@amount = ( #POINT1 / 50 ); #POINT1 -= ( .@amount * 50 ); #POINT2 += .@amount; message strcharinfo(0),"You converted "+( .@amount * 50 )+" Point 1 to "+.@amount+" Point 2"; } end; }
    1 point
  9. check utils.c find else if(date < 20131223) return 45; else if(date >= 20131223) return 46; else return 30; //default } add to else if(date < 20131223) return 45; else if(date < 20131223) return 46; else if(date >= 20140305) return 47; else return 30; //default } and recompile and check clif.h find enum { // packet DB MAX_PACKET_DB = 0xf00, MAX_PACKET_VER = 46, MAX_PACKET_POS = 20, }; edit to enum { // packet DB MAX_PACKET_DB = 0xf00, MAX_PACKET_VER = 47, MAX_PACKET_POS = 20, }; check login_athena.conf // What version is allowed to connect? (if the option above is enabled) client_version_to_connect: 20 edit to : 47 check clientinfo.xml <version>30</version> edit to 47
    1 point
  10. thank you and you could express it click button
    1 point
×
×
  • Create New...