themon - Jan 14, 2014 1:57
prontera,157,284,4 shop Sheepy Gonzales 4_F_KHELLY,12028:1000,12262:500,12016:[color=#0000cd][b]750[/b][/color]
This is causing a minor error 12016:750 the price is to low
item_db.conf
[spoiler]{
Id: 12016
AegisName: "Speed_Up_Potion"
Name: "Speed Potion"
Type: 2
Buy: [color=#ff0000][b]100000[/b][/color]
Weight: 100
Upper: 63
Script: <" sc_start SC_MOVHASTE_INFINITY,5000,0; ">
},
{[/spoiler]
This post has been edited by
themon
on Jan 14, 2014 6:44
Mysterious - Mar 7, 2014 18:29
It depends... what server you're running (Pre-re or RE) as in pre-re, the potion is as followed:[code=auto:0]
Id: 12016
AegisName: "Speed_Up_Potion"
Name: "Speed Potion"
Type: 2
Buy: 2
Weight: 100
Script: <" sc_start SC_MOVHASTE_INFINITY,5000,0; ">
},[/code]
Where as in RE it's this:[code=auto:0]
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; ">
},[/code]
Thus it's conflicting in the script: [url="https://github.com/HerculesWS/Hercules/blob/master/npc/custom/itemmall.txt"]https://github.com/HerculesWS/Hercules/blob/master/npc/custom/itemmall.txt[/url] especially since theres only one file of this and not individual based (for Pre-RE / RE). Maybe needs to be a trader NPC? :P
This post has been edited by
Mysterious
on Mar 7, 2014 18:36
AnnieRuru - Mar 20, 2014 15:03
hercules\db\re\item_db.conf[code=auto:0]{
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; ">
},[/code]hercules\db\pre-re\item_db.conf[code=auto:0]{
Id: 12016
AegisName: "Speed_Up_Potion"
Name: "Speed Potion"
Type: 2
Buy: 2
Weight: 100
Script: <" sc_start SC_MOVHASTE_INFINITY,5000,0; ">
},[/code]hercules\sql-files\item_db.sql[code=auto:0]REPLACE INTO `item_db` VALUES ('12016','Speed_Up_Potion','Speed Potion','2','2','1',...[/code]hercules\sql-files\item_db_re.sql[code=auto:0]REPLACE INTO `item_db_re` VALUES ('12016','Speed_Up_Potion','Speed Potion','2','100000','50000'...[/code]weird ...
[hr]
let's compare rathena's one
rathena\db\re\item_db.txt[code=auto:0]12016,Speed_Up_Potion,Speed Potion,2,2,,100,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start SC_SpeedUp1,5000,0; },{},{}[/code]rathena\db\pre-re\item_db.txt[code=auto:0]12016,Speed_Up_Potion,Speed Potion,2,2,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_SpeedUp1,5000,0; },{},{}[/code]rathena\sql-files\item_db.sql[code=auto:0]REPLACE INTO `item_db` VALUES (12016,'Speed_Up_Potion','Speed Potion',2,2,NULL,...[/code]rathena\sql-files\item_db_re.sql[code=auto:0]REPLACE INTO `item_db_re` VALUES (12016,'Speed_Up_Potion','Speed Potion',2,2,NULL,...[/code].
[hr]
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