Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Everything posted by Dastgir

  1. Known bug, (search could have led to other topic which mentions this bug) Theres new packet which needs to be updated for 2015 clients.
  2. Maybe your pc is putting hidden character at start of line, use notepad++ and use show all characters, and check if there's any hidden file or so.Can't reproduce with Ubuntu.
  3. Use PEEK or any to get info from kRO, however you can only study server->client packets. You can only study client->server packet only if you know how to decrypt them, since they are encrypted. But whichever tool you use , you need to modify it according to client. Or simply you can make your basic packet thing, by changing ws32_2.dll and hooking its send/receive functions and let it output to file/console. And then later check what packets were send and study them. Although , you really made a risky decision for changing to 2015 client at production server.
  4. Mind telling where you put drop sprite and other sprite? With the name?(I guess you didn't changed to correct name or maybe didn't put them in correct folder) The male/female are weapon sprites. drop.spr/.act is drop sprites (see wiki for its folder) and should be renamed as per set in ResName, Similarly item/collection.bmp should be renamed according to ResName and put to correct folder in texture.
  5. It should be shown (only if you have them in correct sprite, I think nomenclature for normal and shadow weapons are different), so having it correct should make it work(also note view ids and weaponinfo lua
  6. @@Ranz, can you try on new item, or are you sure you recompiled after updating? I tested in game and the damage does not increase (I input that script on new item, so to be sure there isn't other factor that increase damage) Or maybe that combo is increasing atk ?
  7. On luafiles514 too, all .lua should be renamed to .lub , also be sure to repatch the files once kRO patches, since kRO patch would overwrite the file.
  8. Players just visit to vote maybe... That's what I have seen.. And the new players often go to toplist(but there aren't many new players coming)
  9. Isn't it already there in const.txt
  10. You can change other things by just putting texture folder from the repo to data.GRF Be sure to not mess up and take a backup before doing so.
  11. CRASH with multi-quest list in login.CRASH with Feed a Pet and have 2 o more Foot for Pets. Several Bugs in Vending of the Merchants.... All items bug are related to a single thing, quest bug , is a minor change in packet.I don't know what's causing pet feed to crash...
  12. Change all .lua found in our repo to .lub and it will work (for item descriptions, change itemInfo.lua to itemInfo.lub, in system folder)
  13. Dastgir

    @whosell

    Seems there's someone who reported ~20 files without even testing if it does work or not.
  14. - script Punching Bag -1,{OnInit:monster "invek",143,148,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill";monster "invek",153,140,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill2";monster "invek",161,169,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill3";end;OnDummyKill: monster "invek",143,148,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill"; end;OnDummyKill2: monster "invek",153,140,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill2"; end;OnDummyKill3: monster "invek",161,169,"Punching Bag",1905,1,strnpcinfo(0)+"::OnDummyKill3"; end;} You were using wrong npc name, since npc name was having 2/3 at end, but better merge them all into one npc, like shown above.
  15. roBrowser is far better than AndRO, but not as complete as PC version.
  16. Shadow refiner was put into repo recently(2-4 days ago)
  17. Why char/map-server port is 3306? Isn't that port supposed to be for MySQL?
  18. If it shows passed, that means its strong, you can use those
  19. Monster command would make them enemy, while @summon spawns them as friend.
  20. Here you go: prontera,150,150,1 script PutBack 987,{ mes "Hi. Can i help you?"; if(select("Put coins back to CP:Close") == 2) close; if (countitem(677) < 100){ mes "I'm sorry, you need at least 100 coins because 100 is equal to 1 credit."; close; } mes "Input amount:"; input .@a,100,1000; if(.@a0) { mes "Can't transfer that much"; mes "Because your amount of coins ins't dividable by 100"; close; } if(countitem(677) < .@a) { mes "You don't have enough "+getitemname(677); mes "You need "+(.@a - countitem(677))+" more "+getitemname(677); close; } next; .@cp_credits = .@a/100; mes "Here you go!"; mes "You will get "+.@cp_credits; query_sql("UPDATE `cp_credits` SET `balance` = `balance` + "+ .@cp_credits +" WHERE `account_id` = '"+getcharid(3)+"'"); delitem 677, .@a; close;} Didn't test it btw. Thank you sir, works perfectly! Here you go: prontera,150,150,1 script PutBack 987,{ mes "Hi. Can i help you?"; if(select("Put coins back to CP:Close") == 2) close; if (countitem(677) < 100){ mes "I'm sorry, you need at least 100 coins because 100 is equal to 1 credit."; close; } mes "Input amount:"; input .@a,100,1000; if(.@a0) { mes "Can't transfer that much"; mes "Because your amount of coins ins't dividable by 100"; close; } if(countitem(677) < .@a) { mes "You don't have enough "+getitemname(677); mes "You need "+(.@a - countitem(677))+" more "+getitemname(677); close; } next; .@cp_credits = .@a/100; mes "Here you go!"; mes "You will get "+.@cp_credits; query_sql("UPDATE `cp_credits` SET `balance` = `balance` + "+ .@cp_credits +" WHERE `account_id` = '"+getcharid(3)+"'"); delitem 677, .@a; close; } Didn't test it btw. Ah, i found an issue. If players input 1234, they take 1234 coins, but the credits on the CP only gets updated by 10. What do i need to edit so they can only input amounts that end with two (or three) zeros? >.< Not possible input .@a,100,1000; See, .@a is limited to 1000, so only 1000 coins get deleted and 10 cp credit gets added.
  21. You provide Item ID in client as I shown, and client recognizes it, and shows description box(with description as defined in itemInfo)
  22. mes "<ITEMLINK>VALKYRIE shield<INFO>2115</INFO></ITEMLINK>"; Its RO client feature, just put it and you will get the desired output.
  23. The name in system folder is itemInfo.lua, because we insist that you use Load Custom itemInfo diff and change name of file(if you use default name and you update the kRO, it might overwrite your changes)
  24. You also need system folder(outside GRF)That's needed for client >=2012-04-18 From that client, System/itemInfo.lub contains item name/description
  25. No, you can get it from old revision when it was removed, or any official server.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.