Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #007970

  • 0 - None Assigned

  • Fixed

Issue Confirmations

  • Yes (1)No (0)
Photo

itemmall.txt error

Posted by themon on 14 January 2014 - 01:57 AM

prontera,157,284,4 shop Sheepy Gonzales 4_F_KHELLY,12028:1000,12262:500,12016:750


This is causing a minor error 12016:750 the price is to low

item_db.conf
Spoiler

It depends... what server you're running (Pre-re or RE) as in pre-re, the potion is as followed:
Id: 12016
	AegisName: "Speed_Up_Potion"
	Name: "Speed Potion"
	Type: 2
	Buy: 2
	Weight: 100
	Script: <" sc_start SC_MOVHASTE_INFINITY,5000,0; ">
},

Where as in RE it's this:
Id: 12016
	AegisName: "Speed_Up_Potion"
	Name: "Speed Potion"
	Type: 2
	Buy: 100000
	Weight: 100
	Upper: 63
	Script: <" sc_start SC_MOVHASTE_INFINITY,5000,0; ">
},

Thus it's conflicting in the script: https://github.com/H...om/itemmall.txt especially since theres only one file of this and not individual based (for Pre-RE / RE). Maybe needs to be a trader NPC? :P

changed status to: Confirmed

hercules\db\re\item_db.conf
{
	Id: 12016
	AegisName: "Speed_Up_Potion"
	Name: "Speed Potion"
	Type: 2
	Buy: 100000
	Weight: 100
	Upper: 63
	Script: <" sc_start SC_MOVHASTE_INFINITY,5000,0; ">
},
hercules\db\pre-re\item_db.conf
{
	Id: 12016
	AegisName: "Speed_Up_Potion"
	Name: "Speed Potion"
	Type: 2
	Buy: 2
	Weight: 100
	Script: <" sc_start SC_MOVHASTE_INFINITY,5000,0; ">
},
hercules\sql-files\item_db.sql
REPLACE INTO `item_db` VALUES ('12016','Speed_Up_Potion','Speed Potion','2','2','1',...
hercules\sql-files\item_db_re.sql
REPLACE INTO `item_db_re` VALUES ('12016','Speed_Up_Potion','Speed Potion','2','100000','50000'...
weird ...


let's compare rathena's one
rathena\db\re\item_db.txt
12016,Speed_Up_Potion,Speed Potion,2,2,,100,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start SC_SpeedUp1,5000,0; },{},{}
rathena\db\pre-re\item_db.txt
12016,Speed_Up_Potion,Speed Potion,2,2,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_SpeedUp1,5000,0; },{},{}
rathena\sql-files\item_db.sql
REPLACE INTO `item_db` VALUES (12016,'Speed_Up_Potion','Speed Potion',2,2,NULL,...
rathena\sql-files\item_db_re.sql
REPLACE INTO `item_db_re` VALUES (12016,'Speed_Up_Potion','Speed Potion',2,2,NULL,...
.


ok, who put that 1000000 as buy value ?
I see item_db range in 12016~12020 all has a buy value as '2', how come it pops out as 1000000 ?

somebody needs to confirm this with Aegis

changed status to: Fixed