Jump to content

Ninja

Members
  • Posts

    513
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Ninja

  1. Worked. Thanks @Stolao is there such a thing that takes off bonuses in just bonus command?
  2. Is there a way to give bonus stats even without equipping an item or having an item in your inventory? like: OnPCLoginEvent: bonus bStr, 100; Though this doesn't work at all.
  3. Just another Survivor type of game. [10/01/2015] Credits to Stolao for integrating this to his Auto Event Npc https://github.com/Stolao/Npc_Release/blob/master/Auto_Event/Auto_Event_v1.93.txt Changelog: V1.3 Bombring.txt - Added Ranking system. [suggested by Azeroth] V1.2 Bombring.txt v1.1 Bombring.txt v1.0 Bombring.txt
  4. anyone having troubles with "createbgid" ? //edit tried patching my source using http://herc.ws/board/topic/4570-battleground-system-without-waitingroom/ and I'm having tons of errors. anyone managed to apply this successfully? please move this to source support thread thanks
  5. I'm using 2013-08-07 so your gonna need to use idnum and res and disp make sure, in your lua files are exact id's for your custom items. Prob is I got lub files.
  6. I'm using 2013-08-07
  7. Hi, I'm having a big problem on adding custom items. I've already tried to follow these guides: https://rathena.org/board/topic/83136-adding-custom-items-renewal/ but still arrived at being error-handed. can someone help me plx?
  8. I suggest you use set #CASHPOINTS, #CASHPOINTS + rand(100,1000); Instead of doing an sql query
  9. Don't use sc_knight, use sc_spirit instead. by the way, sc_spirit works for every job class. You need not add an if statement to do that if you aim to give every job a soul link buff. And I noticed something, try not to use "<=" if you're pertaining to a specific job class, use "==" instead. here's the full code. prontera,164,168,5 script Dodong Magnum 742,{ percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,3600000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,3600000,10; skilleffect 74,0; sc_start SC_MAGNIFICAT,3600000,5; skilleffect 33,0; sc_start SC_ANGELUS,3600000,10; if ( Class == Job_Knight || Class == Job_Lord_Knight){ // you can take this off to allow all job soul linking skilleffect 452,0; sc_start SC_SPIRIT,3600000,5; } } screeny:
  10. I carefully studied the script and had it working on my test server compared to the last one which I only simulated inside my head. here are the things I added: 1. OnPCLoginEvent: if (terces_PVP_resets != $terces_PVP_resets){ set PVPDeaths,0; set @PVPDeathstoday,0; set #PVPDeathsAccount,0; set PVPKills,0; set @PVPKillstoday,0; set #PVPKillsAccount,0; set terces_PVP_resets,$terces_PVP_resets; // Request by iSiune set pvppts,0; //for whatever reason you wanna use this // } 2. OnPCKillEvent: //request by iSiune setarray .@Map$[0],"pvp_y_1-1"; if ( .Map$[0] != "All") { for(set .@i, 0; .@i <= (getarraysize(.PVPMap$)-1); set .@i, .@i+1){ if(strcharinfo(3) == .PvPMap$[.@i]) { return 1; } else end; } } set pvppts, pvppts+1; dispbottom "Your Pvp points: "+pvppts; //end Full script: screenies
  11. Hi, try this. OnSellItem: mes "Cards to sell:"; mes "-----------------------------------"; for(set .@i,0; .@i<getarraysize(@sold_nameid); set .@i,.@i+1) { if (@sold_nameid[.@i] > 4000 && @sold_nameid[.@i] < 4700) { if (.Level) { query_sql("SELECT `LV` FROM `mob_db` WHERE `DropCardid` = "+@sold_nameid[.@i],.@lv); if (.@lv < .Level) { dispbottom getitemname(@sold_nameid[.@i])+" is under the minimum level."; continue; } } set .@card_id[getarraysize(.@card_id)], @sold_nameid[.@i]; set .@card_amt[getarraysize(.@card_amt)], @sold_quantity[.@i]; set .@mvp, compare(.MVP$,""+@sold_nameid[.@i]); mes ((.@mvp)?" ^FF0000":" ^777777")+@sold_quantity[.@i]+"x "+getitemname(@sold_nameid[.@i])+"^000000"; set .@card_total, .@card_total+(@sold_quantity[.@i]*((.@mvp)?.Points[1]:.Points[0])); } // add OCA detection and computation if (@sold_nameid[.@i] == 616) { // Change .Points[0] to whatever multiplier you like set .@card_total, .@card_total+(quantity[.@i]*.Points[0]); } } Not tested.
  12. Try looking at this model: basically the idea is to maintain only 1 database and naming char servers as "channels" (aka EU Channel, US E Channel, etc.) then have the PVP channel somewhere geographically in the middle of everyone. //edit the pvp channel also uses the same sql database and you can just limit the maps loaded there to your pvp maps.
  13. 1. please check your PACKETVER before you recompile your binaries 2. please check your packet_db if it uses the correct version
  14. Make sure that your mob_db is setup correctly in your sql server. And it uses the the "name_japanese" column.
  15. Go over your sql db and find the table named "char_reg_num" and find the entries for Mission0 to Mission3 (or was it Mission4?) then empty out the values and apply the changes. Then Reload your servers. Hope that helps.
  16. I haven't really tried creating instances but I can try
  17. Reworked Euphy's Devil Square script Changelog v1.3 devil_square.txt - Fixed map-server error: waitingroom v1.2 devil_square.txt v1.1 devil_square.txt v1.0 devil_square.txt
  18. that's weird? setarray command was done correct IMO. https://rathena.org/wiki/Setarray unless of course you're not using rathena?
  19. Sup, jadedlight. Try these links and see if they help: https://rathena.org/board/topic/83136-adding-custom-items-renewal/ https://rathena.org/wiki/Custom_Items
  20. try to check your login and char server they should look similar this: Login Server Char Server If not the try to revisit your login-server, char-server, and map-server config files.
  21. no problem, just mark my post as solved if what I suggested solved your problem and so that this thread can be marked as solved, too.
  22. how clear can he get with those lines?
  23. not really sure what you want to achieve here, if you're only after the speed buff of your mount then you might as well just take off all the setriding in your scripts and change it to atcommand strcharinfo(0)+"speed <specify speed here>" it's okay to add humor in your replies but at least give the guy a lead on what he has to do or where he could find some help.
  24. use Visual Studio 2013 and use the appropriate solution file.
  25. was snooping around my sql tables and saw what you meant. Thanks.
×
×
  • Create New...