Jump to content

astralprojection

Members
  • Content Count

    333
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by astralprojection


  1. having problem with this also
    PRE-RE (latest HERC)
    I remember player IS NOT allowed to place 2nd Job skill if not use all  1st Job Skill points first .  But now, player can just use 1st job skill points to be use in 2nd job skill points. Its a bypass. how to fix this?


  2. -	script	test	-1,{
    	setarray(.@newarray, <pick 10 items from .@mission[1]);
    	mes("Your missions are;");
    	mes("Mission 1: "+.@newarray[1];
    	mes("Mission 2: "+.@newarray[2];
    	mes("Mission 3: "+.@newarray[3];
    	mes("Mission 4: "+.@newarray[4];
    	mes("Mission 5: "+.@newarray[5];
    	mes("Mission 6: "+.@newarray[6];
    	mes("Mission 7: "+.@newarray[7];
    	mes("Mission 8: "+.@newarray[8];
    	mes("Mission 9: "+.@newarray[9];
    	mes("Mission 10: "+.@newarray[10];
    	close();
    	
    OnInit:
    	setarray(.@mission[1],50001,50002,50003,50004,50005,50006,50007,50008,50009,50010,50011,50012,50013,50014,50015,50016,50017);
    	end;

    To the script Guru out there :D

    can i ask help on this to pick 10 random items from array with no duplicate and create new array on the picked items?
     


  3. On ‎02‎/‎08‎/‎2018 at 9:53 AM, Dastgir said:

    Possible, just need to strip card values for item

    I wonder if you could add "uncostume" in script command , because when returning to original it bad idea to just delete the costume item and replace with regular item in script.  It will be hard to trace equipment because the unique_id is lost. can you help @Dastgir


  4. @Dastgir Thank you.  Im using the latest Herc now, plugin did install well without error in compile.  But when I use the script

    costume .@Part;  it did convert and equip the costume good. 

    [SQL]: DB error - Out of range value for column 'card2' at row 1

    When I logout, the item is no longer there and got error msg in char server.

     


  5. Thank you again @Asherafit must allow to validate if item is NOT available.

    The scenario would be:

     I have ongoing quest 30050 and i have to collect quest item from various NPC.

    npc bubbles if i dont hve item. and remove bubbles if i get the item already. then i.proceed to another npc to collect without completting 30050:)


  6. Thanks again for the fast response @Asheraf  just a bit more
     

    OnInit:
    	questinfo(QTYPE_QUEST,1);
    	setquestinfo(QINFO_QUEST, 30049, 0);
    	questinfo(QTYPE_QUEST,1);
    	setquestinfo(QINFO_QUEST, 30050, 1);
    	setquestinfo(QINFO_ITEM, 601, 0);
    	end;

    setquestinfo(QINFO_ITEM, 601, 0); did not validate


  7. Thank you @Asheraf for the PR, now still have issue with this script
     

    OnInit:
    	questinfo(QTYPE_QUEST,1);
    	setquestinfo(QINFO_QUEST, 30049, 0);
    	setquestinfo(QINFO_QUEST, 30050, 1);
    	end;

    What I want to accomplish is, show bubbles if: don't have quest 30049 -OR- has ongoing quest 30050. Is it possible?  I was thinking the setquestinfo list is AND not OR.
    with that code above, it don't show any bubble when player don't have 30049.


  8. Im having issue with this:

    OnInit:
    	questinfo(QTYPE_QUEST,1);
    	setquestinfo(QINFO_QUEST, 33333, 0);
    	end;

    npc should show bubble when player don't have that QuestID 33333. Also can it process multiple validation? like

    OnInit:
    	questinfo(QTYPE_QUEST,1);
    	setquestinfo(QINFO_QUEST, 33333, 0);
    	setquestinfo(QINFO_QUEST, 33334, 2);
    	end;

    show bubble when quest 33333 has not started  OR  quest 3334 is completed.
     


  9. yes this one
     

    (08/29/2018 19:11:19) [ Error ] : --- nullpo info --------------------------------------------
    (08/29/2018 19:11:19) [ Error ] : ExtendedBG.c:4897: 'tsd' in function `ebg_clif_send'
    (08/29/2018 19:11:19) [ Error ] : ./map-server() [0x632863]
    (08/29/2018 19:11:19) [ Error ] : plugins/ExtendedBG.so(ebg_clif_send+0xd4) [0x7ff046336204]
    (08/29/2018 19:11:19) [ Error ] : plugins/ExtendedBG.so(ebg_broadcast2+0xd0) [0x7ff0463365d0]
    (08/29/2018 19:11:19) [ Error ] : plugins/ExtendedBG.so(buildin_bg_announce+0x14a) [0x7ff046336aca]
    (08/29/2018 19:11:19) [ Error ] : ./map-server() [0x596e7a]
    (08/29/2018 19:11:19) [ Error ] : ./map-server() [0x598dd0]
    (08/29/2018 19:11:19) [ Error ] : ./map-server() [0x5106c2]
    (08/29/2018 19:11:19) [ Error ] : ./map-server() [0x512ca2]
    (08/29/2018 19:11:19) [ Error ] : ./map-server() [0x49ad10]
    (08/29/2018 19:11:19) [ Error ] : plugins/HPMHooking_map.so(HP_clif_pLoadEndAck+0x91) [0x7ff047a5a3d1]
    (08/29/2018 19:11:19) [ Error ] : --- end nullpo info ----------------------------------------

     

×
×
  • Create New...

Important Information

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