-
Content Count
526 -
Joined
-
Days Won
21
Posts posted by Emistry
-
-
change the format to look like other new item_db.conf ?
http://pastebin.com/raw.php?i=YSepT1DR
refine: ({ TYPE: ARMOR STAT_PER_LEVEL: 0 RATE: { 100:100, // +1 refine RATE:randome bonus rate 100:100, // +2 refine RATE:randome bonus rate 100:100, // +3 refine RATE:randome bonus rate 100:100, // +4 refine RATE:randome bonus rate 100:100, // +5 refine RATE:randome bonus rate 100:100, // +6 refine RATE:randome bonus rate // etc.... }}, { TYPE: WEAPON LEVEL: 1 STAT_PER_LEVEL: 200 RATE: { 100:100, // +1 refine RATE:randome bonus rate 100:100, // +2 refine RATE:randome bonus rate 100:100, // +3 refine RATE:randome bonus rate 100:100, // +4 refine RATE:randome bonus rate 100:100, // +5 refine RATE:randome bonus rate 100:100, // +6 refine RATE:randome bonus rate // etc.... }},{ TYPE: WEAPON LEVEL: 2 STAT_PER_LEVEL: 300 RATE: { 100:100, // +1 refine RATE:randome bonus rate 100:100, // +2 refine RATE:randome bonus rate 100:100, // +3 refine RATE:randome bonus rate 100:100, // +4 refine RATE:randome bonus rate 100:100, // +5 refine RATE:randome bonus rate 100:100, // +6 refine RATE:randome bonus rate // etc.... }},{ TYPE: WEAPON LEVEL: 3 STAT_PER_LEVEL: 500 RATE: { 100:100, // +1 refine RATE:randome bonus rate 100:100, // +2 refine RATE:randome bonus rate 100:100, // +3 refine RATE:randome bonus rate 100:100, // +4 refine RATE:randome bonus rate 100:100, // +5 refine RATE:randome bonus rate 100:100, // +6 refine RATE:randome bonus rate // etc.... }},{ TYPE: WEAPON LEVEL: 4 STAT_PER_LEVEL: 700 RATE: { 100:100, // +1 refine RATE:randome bonus rate 100:100, // +2 refine RATE:randome bonus rate 100:100, // +3 refine RATE:randome bonus rate 100:100, // +4 refine RATE:randome bonus rate 100:100, // +5 refine RATE:randome bonus rate 100:100, // +6 refine RATE:randome bonus rate // etc.... }})
Propose:
- Overhaul the structure
- Passing the refine rate into server based on MAX_REFINE
- if want other customization ... maybe another field for "Bonus_Script" ?? that give bonus to all items that have specific refine ??
About the passing refine rate based on server MAX_REFINE:
if a rate is set for the refine rate, then it's passed into the server ...
but.. if the MAX_REFINE doesnt match with the max refine in the refine_db , then the extra non-exist refine rate just simply pass in the value of -1 ? or maybe 0 ? with this other users can just simply add in a check using this
getequippercentrefinery(<equipment slot>)
- if value returned is equal or below 0 , then failed to refine ..
Current issue that is known for current refine_db
- If the MAX_REFINE doesnt match with the entry inside the refine_db , whenever players try to refine in server, they simply get 100% of refine rate, and the server get some errors about lack of entry for refine_db during the start-up too .
- a bit hard for user to find and edit refine rate ...
Advantages :
- easier to read or configure
- allow users to prevent players from refine abusing IF the admin ignored all these missing entry error due to MAX_REFINE ...
Disadvantages :
- larger file size
- longer passing time ?
-
seem like less users noticed there are already answer given to their problems =='' /swt
-
you can just use
atcommand "@mi "+killedrid;
-
just wondering .... why you guys alway "ignore" the solution given ....O__O
parse_syntax: use of deprecated keyword (use 'case' instead). <---- ANSWERED automatically by the map-server.
just change all "Case" to "case" ....lowercase...
-
something like this
https://github.com/HerculesWS/Hercules/blob/master/src/map/pc.c#L4091
if( sd->status.inventory[n].card[0] == MVP_CARD_ID1 || sd->status.inventory[n].card[0] == MVP_CARD_ID2 || sd->status.inventory[n].card[0] == MVP_CARD_ID3 || sd->status.inventory[n].card[0] == MVP_CARD_ID4 ) return 0;
you still have to check for slot 1 2 3 4 if it's weapon....or your equipment have more than 1 slot.
-
why not just setup trader npc ??
https://github.com/HerculesWS/Hercules/blob/master/doc/sample/npc_trader_sample.txt
-
make sure you have added the correspond group id entry inside the conf/group.conf
-
Where can I find the NPC for Redeeming bought items?
https://github.com/HerculesWS/FluxCP/blob/master/data/npc/DonationNPC.txt
-
i believe the calculation is wrong ??
i think it's suppose to be
1.00 USD = 100 credit(s)
-
persoanlly, i have never used this grf setting thingy.. not even once.. O__O
i am using the WeeMapcache all the time ...it's way more simply then using the grf setting mentioned above.
just a few click ...and you are done adding a new maps...
vote for drop it.
-
-
one of the best megapatch =)
-
you mean which line is edited / added ??
random example ... it did show where to add / modify
-
-
-
wow..260++ names ... only know a few of the names.. >.<
-
maybe ppl will ask why implement this when we got strcharinfo, right? the answer is: retrieve name from an offline character by its ID without the need of a query, I agree with that implementation.
You will always have to query the DB for offline characters if you don't have an id->name cache somewhere.
edit: Then you'd have to ask yourself why make something like that vs querying the DB?
getcharid(<type>{,"<character name>"})
it would be nice if hercules have time to add the optional char name/id parameter to these script command....it would be very useful ....
last time we have a short discussion for adding these optional parameter....but somehow the developer are busy and have no time to start it i guess...
-
item_db.txt
edit the job bitmask
-
this cant be done based on the insufficient information of yours...
no one know how you store and generate your "TOP 1~3" ...
-
you can try save the IP address and cooldown into a new SQL table...
and your npc will retrieve the cooldown of specific IP from the SQL table ...
-
getpartymember getcharid(1), 2;for ( set .@i, 0; .@i < $@partymembercount; set .@i, .@i + 1 ) if ( attachrid($@partymemberaid[.@i]) ) { set test, test+1;// do whatever }donpcevent "Survival Waves#Sur::OnWave1";warpparty "guild_vs5", 0,0, getcharid(1);end;
-
the height of each tab is applied to each other tab for the inventory ....
there is no other way for you to solve this large inventory size unless you rename it to "SHORTER" name ....
-
-
Thanks! But wouldn't this be only 1 person? let's say If i place in a party and would like to add a timer to everyone.attach everybody and assign the timer ...
Need Help! I think i have missing language install...
in Windows Support
Posted
change your editor encoding to Korean