-
Content Count
850 -
Joined
-
Last visited
-
Days Won
34
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by bWolfie
-
Locate to tools folder where it's located and run ./petdbconverter.py pre-re ../ ../db/pet_db2.txt > pet_db2.conf should generate conf file in the tools folder change pre-re to re if renewal
-
@Cabrera probably you forgot to enable in plugins.conf? Those script errors usually cause the script command doesn't exist.
-
are you using latest herc?
-
This is my atcommand. I thought it was working since the clif->message is displaying correct message when I use it. // @my_state - sets state.my_state ACMD(my_state) { struct player_data *ssd; if ((ssd = getFromMSD(sd, 0)) == NULL) { CREATE(ssd, struct player_data, 1); addToMSD(sd, ssd, 0, true); } ssd->state.my_state = !ssd->state.my_state; clif->message(fd, msg_fd(fd, (ssd->state.my_state) ? 1553: 1554)); // my_state mode [enabled/disabled]. return true; } When I mean return 0, I mean function is returning 0. It's not relevant to issue. ssd->state.my_state should return 1 after using my atcommand, but it's always returning 0 (I tested using ShowDebug("%d", ssd->state.my_state); in my 2nd code box) Edit: I tested by returning each ssd, and it seems they are not the same ssd? I.e. the ssd in the @my_state command is not the same as the one in my function.
-
Hello, I am trying to create a piece of code using a plugin which will return 0; I started by creating my struct player_data, which contain state my_state, intended to be set and red as ssd->state.my_state (1st code box) I set my_state using an atcommand and it seems to set ok. But when I'm trying to bring it up in the following code (2nd code box), ssd->state.my_state is returning 0 even though I am sure it is really set to 1 after using my atcommand. Looking for help thank you. struct player_data { struct { unsigned short my_state : 1; } state; } if (target && target->type == BL_PC) { struct map_session_data *sd = BL_CAST(BL_PC, target); if (sd) { struct player_data *ssd; if (!(ssd = getFromMSD(sd, 0))) { CREATE(ssd, struct player_data, 1); addToMSD(sd, ssd, 0, true); } if (ssd && ssd->state.my_state == 1) return 0; } }
-
official bg is stable. if you want to use custom bg check source or plugin release and see if comments will help you.
-
noobzter browse back few pages there is answer there somewhere. btw this plugin not supported anymore by its owner
-
better solution use hercules
-
2015-10-29 is first supported doram client i believe.
-
You need to edit status icon for SI_WEIGHTOVER50. Use Dastgir's guide to help you: http://herc.ws/board/topic/7526-guide-adding-new-status-icons/ Edit msgstringtable.txt to have it display the amount you want. Just ctrl+f it. HP/SP will not be restored when your carried weight is over 50% of the Weight Limit.# You can't use Skills or Attack while your carried weight is over 90% of your Weight Limit.# If you want a custom message for an item you can use the dispbottom() script command.
-
You can put your maps in the /data/ folder or you can use a GRF to load maps.
-
did you enable in plugins.conf
-
have you configured the other files? check top of plugin file for their names
-
requesting hexed client compatible with 20170705
bWolfie replied to AnnieRuru's question in General Server Support
this issue due to langtype maybe? i don't got this issue on these clients (only ones I tried) forgive if date is off - 2014-05-03 - 2014-10-22 - 2015-05-13 - 2015-10-29 -
Yes. The file is db/produce_db.txt. Just search 'AM_PHARMACY' and you will find the area you need. However, it is not enough to give ranking points. That would require source editing. To make your custom item give ranking points, first open src/map/itemdb.h and add a constant for your custom Item ID. enum item_itemid { ITEMID_MYCUSTOMITEM = 29001, } Then open src/map/skill.c and need to include your constant to not 'continue'. Find: if (rnd()%10000 < make_per || qty == 1) { //Success tmp_item.amount++; if(nameid < ITEMID_RED_SLIM_POTION || nameid > ITEMID_WHITE_SLIM_POTION) continue; Below it, change so it like this: if (rnd()%10000 < make_per || qty == 1) { //Success tmp_item.amount++; if((nameid < ITEMID_RED_SLIM_POTION || nameid > ITEMID_WHITE_SLIM_POTION) && nameid != ITEMID_MYCUSTOMITEM) continue;
-
this is script request you should use that forum. i dont understand your request what do yo uneed.
-
from memory i could not get these commands to work for me at all.
-
How about this? It should store every non-bound item in a new array .@ID[] getinventorylist(); for (.@i = 0; .@i < @inventorylist_count; .@i++) { /* Filter only items that is not bound */ if (!@inventorylist_bound[.@i]){ .@itemname$ = callfunc( "getitemname2", @inventorylist_id[.@i], @inventorylist_identify[.@i], @inventorylist_refine[.@i], @inventorylist_attribute[.@i], @inventorylist_card1[.@i], @inventorylist_card2[.@i], @inventorylist_card3[.@i], @inventorylist_card4[.@i], @inventorylist_bound[.@i]); .@menu$ += sprintf("%s %s:", @itemname2_info$, .@itemname$); .@ID[.@j] = @inventorylist_id[.@i]; .@j++; } } .@menu$ += "Cancel"; .@s = select(.@menu$) -1; if (.@s == .@j) close; /* Now display ItemID of selected inventory */ mesf("You have selected %d", .@ID[.@s]); // this did not return correct info because it reads [.@s] index from getinventorylist but not the filtered menu.
-
In git use the command git log -1 and it should give you some input. below is a sample, bold/italic is my commit no. commit f0ac93031a951bde7e014693803003e63c5bafd9 (HEAD -> master) If possible better to port old custom stuff into a new Hercules. Files often have cross-dependencies, so it likely cannot just be straight imported.
-
Asura already has 0 cool down. If you want to remove delay just change data in skill_db.conf.
-
kubix basically implied he wont provide support by saying you should use hBG. no point posting here.
-
nice job friend. attack animation is very smooth, and death ani is funny