Jump to content

  •  

haniko

Member Since 30 Dec 2016
Offline Last Active Jan 29 2017 12:02 AM
-----

Topics I've Started

Craft multiple items at once using shop

28 January 2017 - 01:17 PM

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.


Item ID 35000+ not working?

07 January 2017 - 01:08 AM

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?


Need help with custom items

03 January 2017 - 01:52 PM

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/z...ver/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)?

 


How to edit item scripts and add new items?

01 January 2017 - 07:37 PM

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! 


Client does not show window options i.e. minimise, maximise, close

01 January 2017 - 04:00 AM

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!