Jump to content

karazu

Members
  • Content Count

    1115
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by karazu

  1. karazu

    Costume System v1

    Bro its not working with the latest revision. theirs and error. SCRIPT.C --- script.c+++ script.c@@ -17297,6 +17297,52 @@ return true; }++/*==========================================+ * Costume Items+ *------------------------------------------*/+BUILDIN(costume)+{+ int i = -1, num, ep;+ TBL_PC *sd;++ num = script_getnum(st,2); // Equip Slot+ sd = script->rid2sd(st);++ if( sd == NULL )+ return 0;+ if( num > 0 && num <= ARRAYLENGTH(script->equip) )+ i = pc->checkequip(sd, script->equip[num - 1]);+ if( i < 0 )+ return 0;+ ep = sd->status.inventory[i].equip;+ if( !(ep&EQP_HEAD_LOW) && !(ep&EQP_HEAD_MID) && !(ep&EQP_HEAD_TOP) )+ return 0;++ logs->pick_pc(sd, LOG_TYPE_SCRIPT, -1, &sd->status.inventory[i],sd->inventory_data[i]);+ pc->unequipitem(sd,i,2);+ clif->delitem(sd,i,1,3);+ // --------------------------------------------------------------------+ sd->status.inventory[i].refine = 0;+ sd->status.inventory[i].attribute = 0;+ sd->status.inventory[i].card[0] = CARD0_CREATE;+ sd->status.inventory[i].card[1] = 0;+ sd->status.inventory[i].card[2] = GetWord(battle_config.reserved_costume_id, 0);+ sd->status.inventory[i].card[3] = GetWord(battle_config.reserved_costume_id, 1);++ if( ep&EQP_HEAD_TOP ) { ep &= ~EQP_HEAD_TOP; ep |= EQP_COSTUME_HEAD_TOP; }+ if( ep&EQP_HEAD_LOW ) { ep &= ~EQP_HEAD_LOW; ep |= EQP_COSTUME_HEAD_LOW; }+ if( ep&EQP_HEAD_MID ) { ep &= ~EQP_HEAD_MID; ep |= EQP_COSTUME_HEAD_MID; }+ // --------------------------------------------------------------------+ logs->pick_pc(sd, LOG_TYPE_SCRIPT, 1, &sd->status.inventory[i],sd->inventory_data[i]);++ clif->additem(sd,i,1,0);+ pc->equipitem(sd,i,ep);+ clif->misceffect(&sd->bl,3);++ return 0;+}+ // declarations that were supposed to be exported from npc_chat.c #ifdef PCRE_SUPPORT BUILDIN(defpattern);
  2. Thank you ossi0110 I am currently in the office now and i cannot do some stuff, thank you for that. I will just try to fix this 1st and if it will not really work, I will PM you.
  3. Ok. is it ok if u add the latest update of plugins in the trunk to ur ZIP/RAR? (put all the files including the the new committed files and ur files) its just like I will just copy it instead of updating my own trunk, because i made alot of customization in my files and i think if i will update it will mess up my server.
  4. ok let me update mine EDIT: I successfully recompiled it without error. [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking.so', skipping...[Warning]: HPM:plugin_load: failed to load 'plugins/autoattack.so', skipping... This lines are gone also, but why i cant use the "@autoatk"?
  5. [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking.so', skipping...[Warning]: HPM:plugin_load: failed to load 'plugins/autoattack.so', skipping... same T_T I dont know why still .so Same result. What is this? config.status: error: cannot find input file: `src/plugins/Makefile.in'
  6. so after copying it whats next? i tried recompiling the server and still shows skipping. that is the one inside in ur file? i did not touch any in ur file. what i did was just extract and copy. ".so is not the extension of the file.. it must be .c" EDIT: EDIT: OK I will try to re install it. delete and add again.
  7. T_T. thats why i downloaded ur free release becasue i cant read them. its not about being lazy but it really hurts in to my EYE.
  8. Yes I extracted it in my computer and then copy them in the server via WinSCP (of course i did overwrite it.)
  9. If you have any questions feel free to drop a comment. Original Released by: ossi0110 Requested by: Karazu Click here to download this file I love you! EDIT: do i need to restart my server? OK i will recompile EDIT: why like this [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking.so', skipping...[Warning]: HPM:plugin_load: failed to load 'plugins/autoattack.so', skipping... EDIT: I did recompile but still exist. [Warning]: HPM:plugin_load: failed to load 'plugins/HPMHooking.so', skipping...[Warning]: HPM:plugin_load: failed to load 'plugins/autoattack.so', skipping...
  10. That can be done via 'cutin'. Check out our script_commands.txt file: *cutin "<filename>",<position>; This command will display a picture, usually an NPC illustration, alsocalled cutin, for the currently attached client. The position parameterdetermines the placement of the illustration and takes following values: 0 - bottom left corner 1 - bottom middle 2 - bottom right corner 3 - middle of screen in a movable window with an empty title bar 4 - middle of screen without the window header, but still movable The picture is read from datatexture???????illust, from both theGRF archive and data folder, and is required to be a bitmap. The fileextension .bmp can be omitted. Magenta color (#ff00ff) is consideredtransparent. There is no limit placed on the size of the illustrationsby the client, although loading of large pictures (about 700x700 andlarger) causes the client to freeze shortly (lag). Typically the size isabout 320x480. New illustrations can be added by just putting the new fileinto the location above. The client is able to display only one cutin at the same time and each newone will cause the old one to disappear. To delete the currently displayedillustration without displaying a new one, an empty file name and position255 must be used. // Displays the Comodo Kafra illustration in lower right corner. cutin "kafra_07",2; // Typical way to end a script, which displayed an illustration during a // dialog with a player. mes "See you."; close2; cutin "",255; end; Thank you so much can i use them in my loading screens?
  11. Do you know how to add this that if u click the NPC this cute images will show?
  12. +1 i dont know how to install
  13. What you could do, is go into the images' folder and click on an image. You should get the image shown : https://github.com/Mysteries/Mysterious-Project/tree/master/Graphics/1st-Humanish wow, Cool
  14. that is the answer. also this one http://rathena.org/wiki/Custom_Items
  15. Thank you very much for this. Booth of you guys, thank you once again
  16. The problem is I dont know how to edit patch. I have the idea since in those both patches they will insert a command next to the default that is found atcommand ACMD_DEF(searchstore), ACMD_DEF(costume), ACMD_DEF(skdebug),+ ACMD_DEF(autoattack), <---THIS ONE while also in the http://herc.ws/board/files/file/51-costume-system/ this will also add a command on same line. (that maybe the cause of the error.)
  17. Thank you for this one! I will try @home EDIT: How about if it will be randomly spawn on the map? let say prontera?
  18. any screenshots if ok please? I am here in the office, and I cannot download a file
  19. Hello sevennzzz23 if u remember I did just learned about Tortoise days ago. so I think that should be the reason why i cannot do what u think
  20. ohh isee. thank you. I thought this is an error. I cant identify if its in the log in or not sorry because I am using putty, but its ok now. Thank you again for the answer guys.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.