haniko
Members-
Content Count
15 -
Joined
-
Last visited
About haniko
-
Rank
Member
Profile Information
-
Github
Haniko
-
Solved.
- 1 reply
-
- onsellitem
- shop
-
(and 2 more)
Tagged with:
-
I am currently working on creating a NPC which allows you to craft Eye Patches in exchange of 1 Rusty Bandages and 1 White Potion. Easy enough right? But there is more, I am using the shop and "OnSellItem:" to craft as many Eye Patches based on the items in the sell box. So in essence, if I have 10 Rusty Bandages and 10 White Potions, I would get 10 Eye Patches. Whereas if I have 9 Rusty Bandages and 10 White Potions, I would get 9 Eye Patches etc. I am however stuck on how to check if an item and it's quantity matches the Eye Patch requirement from the sell box. I am quite a beginner in scripting, so it be very helpful EDIT Fixed it myself.
- 1 reply
-
- onsellitem
- shop
-
(and 2 more)
Tagged with:
-
My last item in iteminfo.lua has the ID “32000”, I have used the ID “35000” for the custom item I have personally added and this will increase as I add more. But this is causing an issue when I use “@item 35000” in game, returning "Invalid item or name" & “@item failed.”. How to fix this? EDIT I have been searching and found an answer to my problem here and here. Therefore I am assuming that we have to use free id's that aren't being used. Is there a tool which scans item_db for free ids?
-
I had a similar problem the other day. The issue was that the accessory name wasnt written properly in accname and accid. I wrote it all in capital letters and it worked.
-
Happy new year everyone. I am currently working on adding custom items and I have figured out how to do so. There are a few questions that I have and things I would like to have clarified. My iteminfo.lua has a long list of items that are not in my item_db.conf since I have used the translation pack https://github.com/zackdreaver/ROenglishRE. This is one of the many items that's in iteminfo.lua but not listed in item_db.conf: [31140] = { unidentifiedDisplayName = "Hat", unidentifiedResourceName = "캡", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Costume Black Cowboy Hat", identifiedResourceName = "카우보이모자", identifiedDescriptionName = { "..." }, slotCount = 0, ClassNum = 159 }, Is there somewhere I can download an up-to-date item_db.conf which matches with this version of iteminfo.lua together with the sprites and textures (also missing)?
-
haniko reacted to an answer to a question: How to edit item scripts and add new items?
-
How to edit item scripts and add new items?
haniko replied to haniko's question in General Server Support
It's working! Spent the whole night trying to fix this one problem and all it took was increasing the headgear viewID. Thanks so much. -
How to edit item scripts and add new items?
haniko replied to haniko's question in General Server Support
So I should be following the section for "Defining Items clientside (For New Clients)"? To my understanding, all I have to do is write a new entry for the item in iteminfo.lua and item_db.conf. Please correct me if I am wrong. Now I am unsure where to place all the spirit files etc. since my data folder only has clientinfo.xml. Does that mean I need to specifically add the files to the GRF file? If so, which GRF file should they go into? EDIT Since the last reply, I have downloaded Tobi_Mask and tried to add this to my item list which I have succeeded in doing. I was able to create the mask and it's shown perfectly fine in the inventory, but there is a problem. Every time I attempt to equip it, my client crashes. See screenshots here Code in iteminfo.lua [30502] = { unidentifiedDisplayName = "Tobi Mask", unidentifiedResourceName = "Tobi_Mask", unidentifiedDescriptionName = { "An orange mask with a spiral design and one eye hole for the right eye.", "Defense :^777777 4^000000", "Equipped on :^777777 Upper, Mid, Lower^000000", "Weight :^777777 40^000000", "Applicable Job :^777777 Every Job^000000", "Spriter :^777777 Wolfeh^000000" }, identifiedDisplayName = "Tobi Mask", identifiedResourceName = "Tobi_Mask", identifiedDescriptionName = { "An orange mask with a spiral design and one eye hole for the right eye.", "Defense :^777777 4^000000", "Equipped on :^777777 Upper, Mid, Lower^000000", "Weight :^777777 40^000000", "Applicable Job :^777777 Every Job^000000", "Spriter :^777777 Wolfeh^000000" }, slotCount = 0, ClassNum = 2106 }, Code in item_db.conf { Id: 30502 AegisName: "Tobi_Mask" Name: "Tobi Mask" Type: 5 Buy: 20 Weight: 200 Def: 5 Loc: 769 Refine: false View: 2106 Script: <" bonus bMaxHP,100; bonus2 bResEff, Eff_Stun, 400; bonus2 bSubRace,RC_DemiPlayer,4; "> }, Any ideas how to fix this? -
haniko reacted to an answer to a question: How to edit item scripts and add new items?
-
Hello guys, I am currently learning how to edit and adding items. To do so, I have been reading this guide and got confused to which one to follow since I am working a pre-renewal server using the 2015-05-13aRagexe. 2 Defining Item clientside (Renewal Clients <= 2012-04-10a & Main Clients <= 2012-07-10a) OR 3 Defining Items clientside (For New Clients) Also, is there a place I can download custom items from? I have tried searching for it but they seem all out dated and mostly not from herc.ws. It would also be quite helpful if there was an even easier guide for newbies like me for editing and adding items as well as creating your own. It would be great if someone could help me with this. Happy new year everyone!
-
haniko reacted to an answer to a question: Client does not show window options i.e. minimise, maximise, close
-
Client does not show window options i.e. minimise, maximise, close
haniko posted a question in Client-Side Support
The client I am currently using is 20150513aRagexe and it does not show the window options for the client window. I have used NEMO to patch this and can not find an option within NEMO to enable those options. Any ideas how to fix this? Furthermore, is there a recent Ragexe I should be using? If so, could you please kindly provide me with the link. Please note that I have only been working on my ragnarok offline server since two days ago and I still have much to learn. Thanks and Happy New Year everyone! -
haniko reacted to an answer to a question: Warp Portals are out of place
-
I am not quite familiar to how the GRF's work and which one I should be looking out for. Would be great if you could give me another hint. Furthermore, it there a guide in regards to GRF's? EDIT I downloaded the data.grf from here and replaced my existing one. This has successfully removed the snow effect in Prontera. There might have been a Christmas event in kRo that had it enabled during a patch. Since I am unable to open data.grf with GRF Editor, I have no clue for the cause.
-
I have basically pulled the hercules git version and modified the login configurations so that I can run the server.I do not remember fiddling around with weather scripts since all I have been doing so far is playing around with NPC's. One thing I would like to mention is that the snow effect appears on every private server I have installed and not just the offline server I am working on. Has this something to do with kRo or the client?
-
I have managed to fix the problem with the portals. The issue here was that my kRo was not updated properly. Any clues how to turn off the snowing effect?
-
All the warp portals that are not inside a building are out of place as you can see in the image I have attached. I have just started working on the offline server following different guides and some guess work. The server I am working on is pre-renewal and uses 2015-05-13aRagexe. I have been looking through the forum to find a way to resolve this but everything I tried did not fix the portals. http://herc.ws/board/topic/13957-prontera-problem/?hl=%2Bizlude+%2Bmap#entry79139 http://herc.ws/board/topic/5748-izlude-map-issue/#entry37016 Furthermore, I would like to ask another question here rather than creating a new topic. How do you turn off the Christmas/ Snow theme? I have tried @clearweather and @refreshall as well as checked my .grf files using the GRF builder, but none seem to turn it off. Every help is appreciated.
-
Aeromesi reacted to an answer to a question: Turn off / Disable Renewal
-
haniko reacted to an answer to a question: Turn off / Disable Renewal
-
Silly me. Thank you for pointing it out. It's working now.
-
I have just manged to get an offline server running and it appears that it is still accessing "..\Hercules\npc\re" rather than "..\Hercules\npc\pre-re" even though I have modified and rebuild "..\Hercules\src\config\renewal.h". #define DISABLE_RENEWAL //#define RENEWAL Is there something else that I am missing? What I need is a pre-renewal server to work on. Please note that I'm new to creating a server and unaware how everything works.