Jump to content

Alexandria

Members
  • Content Count

    341
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by Alexandria


  1. Then you need to edit your .exe with an hexadecimal editor.

     

    Search:

     

    String:

    65 66 66 65 63 74 5C 70 69 6B 61 70 69 6B 61 32 2E 62 6D 70

     

    replace for:

    65 66 66 65 63 74 5C 70 69 6B 61 70 69 6B 61 32 00 00 00 00

     

    and

     

    String:

    65 66 66 65 63 74 5C 66 72 65 65 7A 69 6E 67 5F 63 69 72 63 6C 65 2E 62 6D 70

     

    replace for:

    65 66 66 65 63 74 5C 66 72 65 65 7A 69 6E 67 5F 63 69 72 63 6C 65 00 00 00 00


  2. Hello jaBote!

     

    Well, the drop rate is 3x.

     

    As example, this week has doble rates for Water Element, If poring drops is 3x, it would be 6x.

     

    Drops at 3x, using @mi 1002

     

    Monster: 'Poring'/'Poring'/'PORING' (1002)
    Lv:1  HP:50  Base EXP:20  Job EXP:10  HIT:7  FLEE:2
    DEF:0  MDEF:5  STR:1  AGI:1  VIT:1  INT:1  DEX:6  LUK:30
    ATK:7~10  Range:1~10~12  Size:Medium  Race: Plant  Element: Water (Lv:1)
    Drops:
      - Jellopy  100.00% - Knife[4]  3.00% - Sticky Mucus  12.00%
      - Apple  30.00% - Empty Bottle  45.00% - Apple  4.50%
      - Unripe Apple  0.60% - Poring Card  0.03%

     

    Drops at 6x, using @mi 1002

     

    Monster: 'Poring'/'Poring'/'PORING' (1002)
    Lv:1  HP:50  Base EXP:20  Job EXP:10  HIT:7  FLEE:2
    DEF:0  MDEF:5  STR:1  AGI:1  VIT:1  INT:1  DEX:6  LUK:30
    ATK:7~10  Range:1~10~12  Size:Medium  Race: Plant  Element: Water (Lv:1)
    Drops:
      - Jellopy  100.00% - Knife[4]  6.00% - Sticky Mucus  24.00%
      - Apple  60.00% - Empty Bottle  90.00% - Apple  9.00%
      - Unripe Apple  1.20% - Poring Card  0.06%

     

    I don't know if it is clearer than before!

     

    and also, can @mi command be update when the mobs have double drops?

     

    Thank youuuuuuuuuuuuuuuuuu!!


  3. Hello guys,

     

    I would like to request this easy npc. thank you so much for any help!

     

    First step:

     

    We have 10 types of Elements and we have 5 mobs in each elements:

     

    Water:

    Mobs: 1001,1002,1004,1005,1007

     

    Neutral:

    Mobs: 1001,1002,1004,1005,1007 (We will use the same monster as example, I will edit it when the npc is finished, thank you)

     

    Earth:

    Mobs: 1001,1002,1004,1005,1007 (We will use the same monster as example, I will edit it when the npc is finished, thank you)

     

    Fire:

    Mobs: 1001,1002,1004,1005,1007 (We will use the same monster as example, I will edit it when the npc is finished, thank you)

     

    Wind:

    Mobs: 1001,1002,1004,1005,1007 (We will use the same monster as example, I will edit it when the npc is finished, thank you)

     

    Poison:

    Mobs: 1001,1002,1004,1005,1007 (We will use the same monster as example, I will edit it when the npc is finished, thank you)

     

    Holy:

    Mobs: 1001,1002,1004,1005,1007 (We will use the same monster as example, I will edit it when the npc is finished, thank you)

     

    Shadow:

    Mobs: 1001,1002,1004,1005,1007 (We will use the same monster as example, I will edit it when the npc is finished, thank you)

     

    Ghost:

    Mobs: 1001,1002,1004,1005,1007 (We will use the same monster as example, I will edit it when the npc is finished, thank you)

     

    Undead:

    Mobs: 1001,1002,1004,1005,1007 (We will use the same monster as example, I will edit it when the npc is finished, thank you)

     

     

    Second step:

    On mondays at 00:00 time, it will display a broadcast for all users: The Element "MobType" has been doubled for this week

     

    Third step:

    When a user types @ddw, it will display a message to keep the user update what element has the double drop for the current week.

     

    Example:

     

    User types: @ddw

    broadcast: The Element Fire has been doubled for this week

     

    Thank you so much!


  4.  

     

     

     

     

    @Bug time

     

    You can update a file which the size to "0 bites" because the thor patcher never will end to packing.

    Can or can't?

    cant* sorry!

    The beauty of programming, never underestimate what user can do with it.

    Does the file have to replace with size 0 or can be removed? I need time to test edge cases like this, which probably 2,3 weeks later.

     

    When you want to create it! >.<

    You want to create files with size 0? I'm not sure why would you want that...but like I said, I don't have the time to investigate right now, finals are coming.

     

    I have this experience that I want to share with you.

     

    I was working with a customer once, he wanted me to update a folder called AI_sakray, a fresh and update instalation of this folder.

     

    There is a file called follow.lck (in a folder called USER_AI) and I didnt know that it would bring a lot of problems because of the size is 0 bits.

     

    I had to split the folder "AI_sakray" in many files (.thor) to find out what was the problem.


  5.  

     

     

    @Bug time

     

    You can update a file which the size to "0 bites" because the thor patcher never will end to packing.

    Can or can't?

    cant* sorry!

    The beauty of programming, never underestimate what user can do with it.

    Does the file have to replace with size 0 or can be removed? I need time to test edge cases like this, which probably 2,3 weeks later.

     

    When you want to create it! >.<


  6. I'm sorry for my late answer.

     

    @bahbi

     

    It didn't give any error when I was recompiling.

     

    but it doesn't work, the pet still talks =[

     

    I have done what you said but i'm not sure If i edit the files in the right way.

     

    Do you mind if you check it? please

     

    Thank you!

    others.rar


  7. you can view it like this way

    select( 	"option 1",		//	select() return 1	"option 2",		//	select() return 2	"option 3",		//	select() return 3	"Cancel"		//	select() return 4);

    the IF-ELSE in your case is just used to check which option is selected by the users.  the value is determined by the [wiki=select] which return 1,2,3,4......etc ...

     

     

    and, it's easier to view if you using "," to separate each option for the menu.

     

    Can you tell me where should my code go? Im talking in base on my script:

     

    http://pastebin.com/LMWcLWQ8

     

    Thank you.


  8. core.c

     

    Find:

    #include "../common/console.h"#include "../common/random.h"#include "../common/sysinfo.h"#ifndef MINICORE#include "../common/db.h"#include "../common/socket.h"

    Replace:

    #include "../common/console.h"#include "../common/random.h"#include "../common/sysinfo.h"#include "../common/harmony.h"#ifndef MINICORE#include "../common/db.h"#include "../common/socket.h"

    Find: (Near of the line 157)

    }#endif/*** Warns the user if executed as superuser (root)*/

     

    Replace:

     

    }#endif#ifdef SVNVERSIONconst char *get_svn_revision(void) {	return EXPAND_AND_QUOTE(SVNVERSION);}#else// not SVNVERSION#endif/*** Warns the user if executed as superuser (root)*/

     

    Find: (Near of the line 246)

     

    	sockt->init();do_init(argc,argv);{// Main runtime cycleint next;while (runflag != CORE_ST_STOP) {

    Replace:

    	sockt->init();harmony_core_init();do_init(argc,argv);{// Main runtime cycleint next;while (runflag != CORE_ST_STOP) {

     

    Find: (Near of the line 254)

    	    sockt->perform(next);        }    }    console->final();do_final();

     

    Replace:

    	    sockt->perform(next);        }    }    harmony_core_final();    console->final();do_final();

     


  9. Files updated by Fluffle Puff:

     

    atcommand.c

     

    Find:

    #include "../common/utils.h"#include "../common/conf.h"#include "../common/sysinfo.h"#include "atcommand.h"#include "battle.h"#include "chat.h"#include "clif.h"

     

    Replace:

    #include "../common/utils.h"#include "../common/conf.h"#include "../common/sysinfo.h"#include "../common/harmony.h" #include "atcommand.h"#include "battle.h"#include "chat.h"#include "clif.h"

     

    Find: (Near of the line 2213)

    	pc->memo(sd, position);return true;}/*==========================================**------------------------------------------*/

     

    Replace:

     	pc->memo(sd, position); 	return true; }#include "harmony_atcommand.inc"/*==========================================**------------------------------------------*/

     

    Find: (Near of the line 9451)
     

    	    	    ACMD_DEF2("blvl", baselevelup),	    	    ACMD_DEF2("jlvl", joblevelup),	    	    ACMD_DEF(help),	    	    ACMD_DEF(pvpoff),	    	    ACMD_DEF(pvpon),	    	    ACMD_DEF(gvgoff),

     

    Replace:

     		ACMD_DEF2("blvl", baselevelup), 		ACMD_DEF2("jlvl", joblevelup), 		ACMD_DEF(help),		#include "harmony_atcommanddef_ra.inc" 		ACMD_DEF(pvpoff), 		ACMD_DEF(pvpon), 		ACMD_DEF(gvgoff),

     

    pc_groups.h

     

    Find:

    #ifndef _MAP_PC_GROUPS_H_#define _MAP_PC_GROUPS_H_/// PC permissionsenum e_pc_permission {

    Replace:

    #ifndef _MAP_PC_GROUPS_H_#define _MAP_PC_GROUPS_H_void pc_group_iterate(bool(*callback)(int group_id, int level, const char* name));/// PC permissionsenum e_pc_permission {

  10. Hello there,

     

    I'm wondering why I'm getting this error when the time comes up.

     

    [Warning]: script: buildin_atcommand: failed to execute command '@testb'[Debug]: Source (NPC): TEST#RoUG (invisible/not on a map)[Debug]: Source (NPC): TEST#RoUG (invisible/not on a map)

     

    This is my npc:

     

    -	script	TESTB#RoUG	-1,{OnInit:bindatcmd("TESTB","TESTB#RoUG::OnAtcommand2");OnMon0001:atcommand "@testb";end;OnPCLoginEvent:OnAtcommand2:announce "hello world!",bc_self,0x7dfff1;end;}


    How can i fix it? Thank you.
     

×
×
  • Create New...

Important Information

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