Jump to content

Evrard

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by Evrard

  1. There where actually 2 issues, and this was one of them so THANKS! The other was that there is actually a couple of missing view IDs up before this so I just set those as accessory_unknown and replaced the missing numbers and now it works like a charm! (Also, I was using SDE and I forgot to run it as administrator and without that it couldn't save the files either.)
  2. Does Anyone know what could be causing this?
  3. sure, here they are: accessoryid.lua accname.lua
  4. Got frustrated so I tried using the Server Database Editor and when trying to autocomplete the Item's data I get this exeption: I figure it's the exact same error I get when I open my client, how can I go about making the lua reader read more than 1764 lines?
  5. Yes: 40000,arc_angel_balloon,arc angel balloon,4,20,,10,,2,,0,0xFFFFFFFF,63,2,512,,0,1,1772,{ bonus bStr,5; bonus bAgi,5; bonus bDex,5; bonus bInt,5; bonus bLuk,5; bonus bVit,5; bonus bVit,getrefine() ; bonus bStr,getrefine() ; bonus bAgi,getrefine() ; bonus bDex,getrefine() ; bonus bInt,getrefine() ; bonus bLuk,getrefine() ; },{},{}
  6. Thanks for the catch, didn't see that, but I'm still getting the same error.
  7. Hi! Before I start I should say I already edited the iteminfo.lua and everything. The problem is with the other lua files, when I open RO I get the error --------------------------- Lua Files\DataInfo\AccessoryId --------------------------- [string "buf"]:1764: '}' expected (to close '{' at line 1) near 'ACCESSORY_ARC_ANGEL_BALLOON' --------------------------- OK --------------------------- I have to add that line 1764 is the first line where I am adding a custom item, also I did not skip a single ID, so since the DB ends in 1771, I started with the ID 1772 After I hit OK I can go in game and I can see the item in my inventory, and it has icon, drop sprite and description, but I can't see it on my character. It looks fine in my inventory: I can see the description and it does have the effect This is my accname.lua and my accessoryid.lua Can anyone enlighten me as to what am I doing wrong?
  8. Thanks! I was also missing something in the announce lines. xD Its working now!
  9. Hi Guys! So I got this script working that when you kill X ammount of mobs then you get a prize, but what it's not working is when I try to randomize the reward. this is what I got: - script DynamicDrop -1,{ OnNPCKillEvent: set .@map$, "prontera"; if(strcharinfo(3)==.@map$){ if(killedrid==1002){ // and replace the 1002 for any monster ID set f1ks,f1ks +1;// to count +1 kills; announce "Points +1 ["+ f1ks +"/5]",3; } if (f1ks >= 5){ set f1ks,0; //to reset the counter and buff sc_start sc_INCREASEAGI, 360000,10; sc_start sc_BLESSING, 360000,10; set .@prize rand (1,2){ if (.@prize == 1) { dispbottom "You got the first prize on the Roulette!"; getitem 2285,1; } if (.@prize == 2) { announce "You got the second prize on the Roulette!"; getitem 16707,1; } } } end; } But I can't seem to make it work with multiple rewards and a rand command, can you guys please help me see what I'm doing wrong?
  10. Hello team! I was looking to make a script that on a certain map, if you kill monsters, for each mob you kill you get +1 point and once you reach a certain amount of points it triggers a roullete than can warp you out of the map, give something from an item list or set your score to a different value. So like for example the roullette triggers at 70 points, and it can warp you to prontera give you an item or set your score to 30~50. I'm not asking for the whole script, it's just that I'm not sure which variables to use for this specific task. Thanks in advance! Managed to start it, I'm moving to the support section instead of the request one ?
  11. Thanks! after like 400000 typos it ended up working perfectly, and thanks for the SC_ part, I actually had no idea and I feel kinda stupid because of it... /)_< thanks again! Problem Solved
  12. Changed that, also a couple of , that where supposed to be ; still doesn't work >-<
  13. Thanks for your help guys, sorry for the late response >-< it was because the headder of that had the instructions with // ._. so I removed them and everything worked fine
  14. Hello, I modified a Healer Script that I found so that it gave buffs if you had certain items, to be specific, 1 buff for each ticket, and some special tickets that granted several buffs, when I run it it either doesn't work or gives me stone curse, can anybody please tell me what did I script wrong? //Healer - script Healer -1,{ set .@Delay,2; // Heal delay, in seconds set .@price,15000; // Price in zeny callfunc "F_ClearGarbage",0; if (@HD > gettimetick(2)) end; specialeffect2 313; percentheal 100,100; if(countitem(30004) >= 1){ specialeffect2 37; sc_start SC_INCREASEAGI,360000,10; } if(countitem(30003) >= 1){ specialeffect2 42; sc_start SC_BLESSING,360000,10; } if (countitem(30005) >= 1){ set .@price,0; } if (countitem(30006) >= 1){ specialeffect2 75; sc_start PR_GLORIA,360000,5; } if (countitem(30007) >= 1){ specialeffect2 112; sc_start AL_ANGELUS,360000,10; } if (countitem(30008) >= 1){ sepecialeffect2 130, sc_start BS_ADRENALINE,360000,5; } if countitem(30009) >= 1){ specialeffect2 76, sc_start PR_IMPOSITIO,360000,5; } if countitem(30010) >= 1){ specialeffect2 6; sc_start SC_INCREASEAGI,360000,10; sc_start SC_BLESSING,360000,10; set .@price,0; } if countitem(30011) >= 1){ specialeffect2 9; c_start PR_GLORIA,360000,5; sc_start AL_ANGELUS,360000,10; set .@price,0; } if countitem(30012) >= 1){ specialeffect2 14; sc_start BS_ADRENALINE,360000,5; sc_start PR_IMPOSITIO,360000,5; set .@price,0; } if countitem(30013) >= 1){ specialeffect2 77; sc_start SC_INCREASEAGI,360000,10; sc_start SC_BLESSING,360000,10; c_start PR_GLORIA,360000,5; sc_start AL_ANGELUS,360000,10; sc_start BS_ADRENALINE,360000,5; sc_start PR_IMPOSITIO,60000,5; sc_start HP_ASSUMPTIO,60000,5; sc_start SN_WINDWALK,360000,10; set .@price,0; } if (BaseLevel<=149){ set .@price,0; } if (.@Price) { message strcharinfo(0),"Healing costs "+.@Price+" Zeny when you reach level 150 until you get a Price Ticket, or any Healer Ticket."; if (Zeny < .@Price) end; set Zeny, Zeny-.@Price; } if (.@Delay) set @HD, gettimetick(2)+.@Delay; close; } thanks in advance >_<
  15. ok now almost everything works, thanks for your help guys, after making, and remaking everything a couple of times the only error I got left is when I open the client this pops out: --------------------------- CItemInfoMgr --------------------------- System/iteminfo.lub:1: unexpected symbol near '/' --------------------------- Accept --------------------------- I know its a syntax error but I dunno where to look inlide the iteminfo.lub :S These ones are the items I added there: [30000] = { unidentifiedDisplayName = "Helgard Coin", unidentifiedResourceName = "°í±ÞÄÚÀÎ", unidentifiedDescriptionName = { "¹Ý¦¹Ý¦ ºû³ª´Â ÃÖ»óÀ§±Þ ÄÚÀÎ. ¹«±â ÀÎæƮ Áß °í±Þ ¿É¼ÇÀÌ ³ª¿Ã È®·üÀÌ ÀÖ´Ù°í ÇÑ´Ù.", "¹«°Ô : ^7777770^000000", }, identifiedDisplayName = "Helgard Coin", identifiedResourceName = "°í±ÞÄÚÀÎ", identifiedDescriptionName = { "Helgard Ragnarok Online Oficial Courrency, it can be used in many Transactions", "^ffffff_^000000", "Weight :^777777 0^000000", }, slotCount = 0, ClassNum = 0 } [30001] = { unidentifiedDisplayName = "Lesser Helgard Coin", unidentifiedResourceName = "Æò¹üÇÑÄÚÀÎ", unidentifiedDescriptionName = { "ÀϹÝÀûÀÎ Áß±Þ ÄÚÀÎ. ¹«±â ÀÎæƮ Áß Áß±Þ ¿É¼ÇÀÌ ³ª¿Ã È®·üÀÌ ÀÖ´Ù°í ÇÑ´Ù.", "¹«°Ô : ^7777770^000000", }, identifiedDisplayName = "Lesser Helgard Coin", identifiedResourceName = "Æò¹üÇÑÄÚÀÎ", identifiedDescriptionName = { "Less valuable Helgard Courrency, can be exchanged for a higher tier coin in a special NPC", "^ffffff_^000000", "Weight :^777777 0^000000", }, slotCount = 0, ClassNum = 0 } [30002] = { unidentifiedDisplayName = "White Baseball Cap", unidentifiedResourceName = "Baseball_Cap_White", unidentifiedDescriptionName = { "yes", "no", }, identifiedDisplayName = "Lesser Helgard Coin", identifiedResourceName = "Baseball_Cap_White", identifiedDescriptionName = { "A costume White Baseball Cap", "^ffffff_^COSTUME ITEM000000", "Weight :^777777 0^000000", }, slotCount = 0, ClassNum = 874 } any help would be greatly apreciated >-< PS: after the Error I can still log in and select server, but when I go into the character selection screen the client crashes
  16. 2012-04-18 already added then in the idnum2displayname.txt and idnum2desc.txt where are the accesory.lua and the accname.lua again? can't seem to find them in the data folder...
  17. I made 2 custom coins for my server, the Helgard Coin and the Lesser Helgard Coin, they are in the DB correctly since I can spawn the items in-game and they appear in @iteminfo, however they look like an unknown item.... I modified the System\iteminfo.lub adding both but they still don't show up... [30000] = { unidentifiedDisplayName = "A±Þ ÄÚÀÎ", unidentifiedResourceName = "°í±ÞÄÚÀÎ", unidentifiedDescriptionName = { "¹Ý¦¹Ý¦ ºû³ª´Â ÃÖ»óÀ§±Þ ÄÚÀÎ. ¹«±â ÀÎæƮ Áß °í±Þ ¿É¼ÇÀÌ ³ª¿Ã È®·üÀÌ ÀÖ´Ù°í ÇÑ´Ù.", "¹«°Ô : ^7777770^000000", }, identifiedDisplayName = "Helgard Coin", identifiedResourceName = "°í±ÞÄÚÀÎ", identifiedDescriptionName = { "Helgard Ragnarok Online Oficial Courrency, it can be used in many Transactions", "^ffffff_^000000", "Weight :^777777 0^000000", }, slotCount = 0, ClassNum = 0 } [30001] = { unidentifiedDisplayName = "C±Þ ÄÚÀÎ", unidentifiedResourceName = "Æò¹üÇÑÄÚÀÎ", unidentifiedDescriptionName = { "ÀϹÝÀûÀÎ Áß±Þ ÄÚÀÎ. ¹«±â ÀÎæƮ Áß Áß±Þ ¿É¼ÇÀÌ ³ª¿Ã È®·üÀÌ ÀÖ´Ù°í ÇÑ´Ù.", "¹«°Ô : ^7777770^000000", }, identifiedDisplayName = "Lesser Helgard Coin", identifiedResourceName = "Æò¹üÇÑÄÚÀÎ", identifiedDescriptionName = { "Less valuable Helgard Courrency, can be exchanged for a higher tier coin in a special NPC", "^ffffff_^000000", "Weight :^777777 0^000000", }, slotCount = 0, ClassNum = 0 }, any help? please
  18. The launcher doesn't use idnum2itemdesctable & co. since ~2012-04-10 if I remember It use System/itemInfo.lua http://subversion.assembla.com/svn/ClientSide/Lua_Project/System/ Search in the client forum for more informations http://rathena.org/board/forum/98-client-side/ will do, thanks. PS: changed the system/iteminfo.lub and its still an unknown item... heading over the client forums to post over there....
  19. yes I followed that guide, and yes thats the name of the sprite, A grade coin and B grade Coin 30000#°í±ÞÄÚÀÎ# 30001#°í±ÞÄÚÀÎ# and the one I created 30000#°í±ÞÄÚÀÎ# 30001#°í±ÞÄÚÀÎ# ps: the scripted items are on db/item_db2.txt that where they're suposed to be right?
  20. Before anything I have to clarify that I already visited the wiki, checked the topics and still can't seem to find a solution. Now to the problem, I wanted to implement 2 coins, the Helgard coin and the lesser helgard coin, taking a grade coin and b grade coin's sprite. item_db.txt 30000,helgard_coin,Helgard Coin,3,20,,0,,,,,,,,,,,,,{},{},{} 30001,l_helgard_coin,Lesser Helgard Coin,3,20,,0,,,,,,,,,,,,,{},{},{} idnum2itemdesctable: # 30000# Helgard Coin Helgard Ragnarok Online Oficial Courrency, used in a many kind of transactions ^ffffff_^000000 Weight :^777777 0^000000 # 30001# Lesser Helgard Coin Less valuable Helgard Coin, 10 can be exchanged for a helgard coin in the Coin Trader ^ffffff_^000000 Weight :^777777 0^000000 idnum2itemdisplaynametable 30000#Helgard_Coin# 30001#Lesser_Helgard_Coin# idnum2itemresnametable 30000#°í±ÞÄÚÀÎ# 30001#°í±ÞÄÚÀÎ# and when I go in game and spawn the item it comes out as an unknown item.... I'm using RagexeRE 2012-04-18 can anybody help me please >_<?
×
×
  • Create New...