• Announcements

    • Emistry

      Rules and Regulations - General/Script/Database/Source Support   11/16/2016

      In all sub-forums of this section , you are still bound to follow the rAthena Board Rules. Topic Author: Do not release scripts that are not of your own creation unless you can provide evidence of explicit permission from the original author to do so. Attempt to post your script in the proper section. If you're not certain as to where to post it, feel free to ask one of the Moderators. Do provide an informative title.  Do provide at the very least a 3-4 sentences description or summary that clearly states what your script does. Attempt to have multiple hosts for your scripts as to prevent dead links. 3 or more links are ideal. Links to your issue should directly provide the relevant items without the need for registration.  Make use of BBCode for respective contents.  Mark the reply as "Best Answer" in case it solved your issue. You may as well consider give them a reputation for the help. Vote Up relevant replies, and Vote Down for irrelevant replies. You're not allowed to bump your topics if you're not providing any new updates prior to your previous post.   Member: You're not allowed to bump your topics if you're not providing any new updates prior to your previous post. Do not post anything irrelevant contents in the topic. Vote Up relevant replies, and Vote Down for irrelevant replies. You may only post into this area if you are willing to either write new or make changes to scripting code yourself.  Do not criticize others reply being too general or without concrete scripting code.    Everyone: Violate these rules may result in immediate deletion of the topic/post, warning increase, and restriction of posting abilities for a certain period of time. On future offenses, member is to receive an increase in the warn level and have their posting abilities restricted for a certain period of time to be determined by the Moderators handling the case.
      * rAthena Staff reserves the right to add to and change the rules at any time. It is your duty to keep up with any changes and follow them to the best of your ability.   Your cooperation in this regard will be highly appreciated. Thank you.
  • 0
Sign in to follow this  
lllaaazzz

so which is more reliable?

Question

new to all this, got past the server stuff and now playing around my server : 

when editing the DB's i started by using SDE (looks like GRF is for sprites and stuff?) , so i wanted to test crap so i changed the poring to 1 HP using SDE by targeting my db\pre-re , went to poring changed HP to 1 and reloaded everything, poring had 1 HP in game, im satisfied 

i go and check out the mobdb where im assuming all the information got updated and it still shows 50HP for poring on pre-re and 60HP for poring on re

will it not update here? i still havnt tested every one of my options yet but i figured id ask and see if i get any help

 

I also tried adding skills and and items with the bonus of being able to use that skill as a test and i cant seem to determine how my server reads the database since im pre renewal with all this renewal folders in my server. . . . So the final item ID as far as i can see in pre re is : 19507 Clear Sun, so i type 19508 and my new stuff and i get costume T gemmed sallet, which is 19508 on the renewal id list . . . OK so i set it to ID 31173 and then i just get errors in my map server and the thing is ignored or whatever (currently on fresh install, could recreate steps and post exact if requested but im sure we known what im talking about)

and as for the skills, the tutorial said i needed xray client to add any more skill ids otherwise the only thing i can do is replace and edit the current skills or something? Im just using this guys pre packed(for solo testing) and not sure yet if its xray or whatever (i cant even spawn my own item in so i cant tell without trying to modify the skill trees, not there yet[probably could edit an existing item])

 

 

like i said i didnt exhaust all my option yet for testing but if you could help thatd be great

Edited by lllaaazzz

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

For starters you should check if renewal is disabled in src/config/core.h
 

//#define PRERE
to
#define PRERE //Pre-Renewal

so your server would read the pre-re database/npc folders.
as for SDE if you save it properly it should be updated properly since i personally use it just make sure you load your pre-re database :))

as for adding custom items there are few basic steps. (import folder is for custom database)
1. Add the item data on db/import/item_db.txt  (make sure you @reload itemdb)
 

35000,Super_Potion,Super Potion,0,100,1,70,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(5000,9999),0; },{},{}

2. Add your item in iteminfo.lua/lub (so your item won't be displayed in apple)
 

	[501] = {
		unidentifiedDisplayName = "Super Potion",
		unidentifiedResourceName = "빨간포션",
		unidentifiedDescriptionName = { "" },
		identifiedDisplayName = "Super Potion", //Item Display Name In Game
		identifiedResourceName = "빨간포션", //Item sprite to read for display
		identifiedDescriptionName = { //Description
			"A potion made from Supermans sweat.",
			"^FFFFFF_^000000",
			"Class:^0000FF Restorative item^000000",
			"Heal:^006600 5000 ~ 9999^000000 HP",
			"Weight:^006600 7^000000"
		},
		slotCount = 0, // If equipments this is for client slot display
		ClassNum = 0 // For headgears display id
	},


as for the other stuffs custom headgears skills reviewing the wiki will help for that :))


 

Share this post


Link to post
Share on other sites
  • 0

thank you

 

 

and what about the skills things? any way to confirm if im on the xray client (besides just trying)or whatever the pre reqs for adding skill ids? 

Edited by lllaaazzz

Share this post


Link to post
Share on other sites
  • 0
11 hours ago, lllaaazzz said:

thank you

 

 

and what about the skills things? any way to confirm if im on the xray client (besides just trying)or whatever the pre reqs for adding skill ids? 

Guides about xray client and the xray client itself is outdated. You don’t need them anymore.

IIRC, you can now add custom skills clients that utilize lua files for storing skill data.

Share this post


Link to post
Share on other sites
  • 0

yeah it seems that way since i had all the files and stuff no mention of xray or anything..

 

thank you sir, trying to get my new skills in game... then getting a map in.... idk if i should just keep this topic or make a new one in case i have another question, but you can close it or whatever 

 

thanks :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this