Jump to content

Stolao

Developer
  • Posts

    1443
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by Stolao

  1. This is a custom feature that would require sorce and client work, try posting in request section.
  2. Question to dev what's reasoning for not doing this. Personaly idgaf if its added or not just wondering
  3. PROS This is only visual more appealing CONS Increase document size by a large amount Breaks backwards combatability Breaks combatability with all 3rd party programs that read the item_db, websites control panels etc... Would this decrease processing times? More then likely not.
  4. Oh yay <3 Can't wait for it.
  5. not the way i have it set up, mins would run in billions which ra's code doesn't support however you can make it hourly (players will still have to claim)
  6. Ok there are a few things about your script id like to advise you on, Firstly You use $DLogin , which is a global variable, once one person claims rewards no one else on server will be able to till following day Instead try using an account variable #DLogin and using an sql data wipe at 00:00 like so OnClock0000: set $DLogin,0; query_sql("DELETE FROM `global_reg_value` WHERE `str` = '#DLogin'"); set .@size, query_sql("select account_id from `char` where online = 1", .@aid); for(set .@i,0; .@i<.@size; set .@i,.@i+1) { if(attachrid(.@aid[.@i])){ set #DLogin,0; } } Announce "You can now claim your Daily Bonus!",8; end; Secondly Don't use goto, goto goto for the same code with a variable difference, instead make the script dynamic using arrays example if(#DLogin == 1){ mes "You had already received your gift today."; mes "Please! come back again tomorrow."; emotion e_bzz; close; } mes "Im glad to give you your Daily Bonus!"; next; switch(rand(5)){ // 1/rand will be items, rest will be zeny case 0: //Items // Card, Enchant, Healing, All items setarray .@Plow, 4001, 4700, 401, 501; setarray .@Phigh,4555, 4871, 599, 21005; set .@x, rand(getarraysize(.Plow)); set .@p, rand(.Plow[.@x],.PHigh[.@x]); while(getitemname(.@p) == "null"){ set .@p, rand(.Plow[.@x],.PHigh[.@x]); } if (checkweight(@claim,1) == 0 ){ mes "Sorry you are overweight!"; emotion e_bzz; close; } getitem .@p,1; Announce "" + strcharinfo(0) + " got " + getitemname(.@p) + "",8; break; default: //Zeny setarray .@x,5,10,50,100,500,1000,5000,100000,1000000; set .@p, .@x[rand(getarraysize(.@x))] * rand(1,50); set Zeny,zeny + .@p; Announce "" + strcharinfo(0) + " got " + .@p + "z!",8; break; } emotion e_thx; set #DLogin,1; close; Hope this helps~
  7. Second one there are 2 problems First If( .@amount % 10 > 0) Should be If(.@amount % 10 != 0 || .@amount < 1) Secondly Getitem 14232,1; Should be Getitem 14232, .@amount / 10; On phone so odd no codebox.
  8. Ill add this feature in to my script as a configurable option, been meaning to update it anyways since my 1.5x update failed.
  9. This can be done through a combination of db edits and client side edits, Server side files Skill_db Skillrequire_db skilltree_db Client Side Jobinheritlist.lub Skilldecript.lub skillifolist.lub skilltreeveiw.lub Also need to add a Skill Icon for quick bar Most of this is fairly easy to figure out.
  10. ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } Bows start at id 1701 1701,Bow,Bow,4,1000,,500,15,,5,3,0x000A0848,7,2,34,1,4,1,11,{},{},{} They all should be 2 handed by default, if they are messed up in your item.db try re-downloading it here for re here for pre-re If its just your custom bows then change the LOC to 34.
  11. If you go to view in your computers build in calculator its got a programmers mode (Alt + 3), this works as well.
  12. Ive never thought to do this before, neat.
  13. Ya this would be awesome, also with git i can add my own custom releases in a fork right? I wonder how, I'm to lazy to look up atm maybe ill look later if no one answers~
  14. There is a config under the OnInit label, if you have further questions ask away
  15. I believe its #cashpoints (account bound ) ill check when home.
  16. It should give a dispbottom with hours remaining on login atcommand or whisper.
  17. There is a custom label called OnPCcalc, I thinks its name. It would work great, look it up ( think its by annieruru ) ill edit post if I find it when home.
  18. try using autobonus and increasing atk and matk for like 2 seconds after doing anything offensive
  19. Update Non-Abuse Healer 1.03 -> 1.05 v1.04 Added Config v1.05 Added Buffer per requests this has been requested once already, i guess if you all insist i can. yeah !! i want it. hehehe Updated~ Remeber + Rep~
  20. Update 1.03 -> 1.05 v1.04 Added Config v1.05 Added Buffer per requests
  21. Been trying to figure this out for last 2 hours i think im still tired, ive managed to get it working but it still give the error, i know the error is its trying to read a string as a number but i have used atoi everywhere its needed, anyone have a suggestion? explode(.@TT$,.Rewards$[.@g],"|"); if(.Mode & 1 && .@TT$[4]){ explode(.@XT$, .@TT$[4],":"); //[Note]: I need to figure out a checkweight for all items tired atm lol, for now ill leave it missing for(set .@x,0; .@x < getarraysize(.@XT$); set .@x,.@x + 2){ getitem atoi(.@XT$[.@x]), atoi(.@XT$[.@x+1]); message strcharinfo(0),"Recived "+ .@XT$[.@x+1] +" "+ getitemname( atoi(.@XT$[.@x])); till its fixed i going to remove v1.58 and v1.51
×
×
  • Create New...