Jump to content

QQfoolsorellina

Members
  • Posts

    587
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by QQfoolsorellina

  1. No, unknown type means not Implemented that bonus
  2. suggest format: atcommand "@main on "+strcharinfo(0);
  3. oh oh...thank you , My eye is blind Before you answer me
  4. I like Download this topic and Track this topci feature
  5. Hi~ Is it possible setting the dropped item of mob only can be got by the last-hit player ?
  6. I don't think my dowload speed over 1.5M
  7. np++ use RE search result : not wroking ! only TREASURE_BOX can be searched
  8. Good day, everyone. I have a trouble in Regular expression I don't know how to input the correct command. What I want to do is to replace all the mvp 's dMotion filed with value 0 in mob_db.txt. I think the condition of mvp is MEXP >0,but I suck at use Regular expression so I need someone kindly help to tell me the right RE code .. thank in advance.
  9. Onint label in wrong positon http://pastebin.com/Yc60R8bJ
  10. like this topic http://www.eathena.ws/board/index.php?showtopic=259669&pid=1423280&mode=threaded&start=#entry1423280 I m using 2011-02-15 RE client ,but I m very new to hexing dunno how to get the hexing code and need someone to help to figure out the client hexing colde thanks.
  11. I dont know how to re-calculation still need help
  12. Maybe try a atCommand("@refresh"); to refresh the client display. I don't know if it isen't just displayed or need a complete re-calculation. Thank you for support. I try add @refresh but status not update.. i think as you say it needs re-calculation morocc,141,101,4 script eventtset 112,{ set cstate,!cstate; dispbottom "the [cstate] value now is:"+cstate; CalcCharStat; close; OnPCStatCalcEvent: if(cstate){ bonus3 bAutoSpell,48,5,1000; bonus bStr,100; atCommand("@refresh"); //add this but still not working as intended } end; }
  13. Hi~ I tried to add a custom event OnPCStatCalcEvent to run item script in npc src/map/script.c "OnPCStatCalcEvent",//StatCalcEvent_name src/map/script.h const char *StatCalcEvent_name; src/map/npc.c {"StatCalcEvent",script_config.StatCalcEvent_name}, src/map/npc.h NPCE_PCStatCalc, src/map/status.c + npc_script_event(sd,NPCE_PCStatCalc); + if (!calculating) + return 1; // ----- STATS CALCULATION ----- and a script command BUILDIN_FUNC(CalcCharStat) { TBL_PC *sd; if( script_hasdata(st,2) ) sd=map_id2sd(script_getnum(st,2)); // <Account ID> else sd=script_rid2sd(st); // Attached player if(sd==NULL){ script_pushint(st,-1); return 0; } status_calc_pc(sd,0); return 0; } BUILDIN_DEF(CalcCharStat,"?"), my test script morocc,141,101,4 script eventtset 112,{ set cstate,!cstate; dispbottom "the [cstate] value now is:"+cstate; CalcCharStat; close; OnPCStatCalcEvent: if(cstate){ bonus3 bAutoSpell,48,5,1000; bonus bStr,100; } end; } When cstate=1 the bAutoSpell working as intended but the bStr not work immediately ,Only when re-login character or take off/on equipment , Character's status will be updated My problem is how to update Character's status immediately whithout re-logining or taking off/on equipment ?
×
×
  • Create New...