Jump to content

Kubix

Members
  • Content Count

    150
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by Kubix


  1.  

     

    getting this

      parse_callfunc: not enough arguments, expected ','
        44:         {
        45:                 if( Event_Win_IDs[ .@i ] != 0 )
        46:                 {
    *   47:                         getitem return_Event_Prize( Event_Win_IDs[.@i] ), return_Event_Amount( Event_Win_IDs[.@i] );
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        48:                         deletearray Event_Win_IDs[.@i], 1;
        49:                 }
        50:         }
    
     

    You must upload Return.c before all other scripts.

     

    scripts_custom.conf:

     

    npc: npc/custom/Event_Manager/Return.c

    npc: npc/custom/Event_Manager/all other event manager's scripts.


  2. Hey!
    This is Event Manager, that helps you create new events.

     

    I add new script command for test:D

    Works like debugmes.

    post-9627-0-28078200-1461367478_thumb.png

    1. statusmes "message";

     

    You can look in Return.c file, here you can find functions that helps you work with new Events.

    I convert 2 standart events (RFYL & Bomb Poring).

    1. For start event, use - @startevent <event name>
    2. For check event settings use - @checkevent <event name>
    3. For join - @joinevent
    4. Leave - @leaveevent
    5. For get prize - @event

    For add new event:
    First goto Event_DB.c and add your event settings

    Then add your event script to /Events/ folder :)

     

    Also I can help you convert your scripts.
    Have questions? feel free to ask :)
     


  3.  

    upd. fixed cooldown issue

     

    Found a bug: At level 19, counter is 40 but it have only 20 mobs. 

     

    in your last updated git version....please fixed it as soon as possible...thanks..

    its ok on my server.

    maybe you don't have some of this monsters in your db?

     

    		areamonster getarg(1),265,7,311,33,"Yoyo",1057,20,instance_npcname("EC_Manager")+"::OnMobDead";
    		areamonster getarg(1),265,7,311,33,"Mime Monkey",1585,20,instance_npcname("EC_Manager")+"::OnMobDead";
    		areamonster getarg(1),265,7,311,33,"Choco",1214,1,instance_npcname("EC_Manager")+"::OnMobDead";
    

  4.  

    hercules\src\map\skill.c(6912): error C2143: syntax error : missing ';' before 'type'
    5>f:\server\hercules\src\map\skill.c(6913): error C2143: syntax error : missing ';' before 'type'
    5>f:\server\hercules\src\map\skill.c(6915): error C2065: 'needed' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(6918): error C2065: 'id' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(6920): error C2065: 'id' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(6922): error C2065: 'id' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(6923): error C2065: 'id' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(6925): error C2065: 'needed' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(6928): error C2065: 'id' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(6930): error C2065: 'id' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(6931): error C2065: 'id' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(6933): error C2065: 'id' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(6934): error C2065: 'id' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'x' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'y' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'x' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'y' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'x' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'y' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'x' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'y' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(9920): warning C4116: unnamed type definition in parentheses
    5>f:\server\hercules\src\map\skill.c(9988): error C2061: syntax error : identifier 'skill_castend_nodamage_id_dead_unknown'
    5>f:\server\hercules\src\map\skill.c(9988): error C2059: syntax error : ';'
    5>f:\server\hercules\src\map\skill.c(9988): error C2059: syntax error : 'type'
    5>f:\server\hercules\src\map\skill.c(14689): error C2043: illegal break
    5>f:\server\hercules\src\map\skill.c(14694): error C2059: syntax error : 'if'
    5>f:\server\hercules\src\map\skill.c(14715): error C2059: syntax error : 'else'
    5>f:\server\hercules\src\map\skill.c(14737): error C2059: syntax error : 'if'
    5>f:\server\hercules\src\map\skill.c(14759): error C2059: syntax error : 'if'
    5>f:\server\hercules\src\map\skill.c(14781): error C2059: syntax error : 'if'
    5>f:\server\hercules\src\map\skill.c(14803): error C2059: syntax error : 'if'
    5>f:\server\hercules\src\map\skill.c(14825): error C2059: syntax error : 'if'
    5>f:\server\hercules\src\map\skill.c(14847): error C2059: syntax error : 'if'
    5>f:\server\hercules\src\map\skill.c(14869): error C2059: syntax error : 'if'
    5>f:\server\hercules\src\map\skill.c(14893): error C2059: syntax error : 'switch'
    5>f:\server\hercules\src\map\skill.c(14908): error C2059: syntax error : 'if'
    5>f:\server\hercules\src\map\skill.c(14926): error C2059: syntax error : 'switch'
    5>f:\server\hercules\src\map\skill.c(15012): error C2059: syntax error : 'return'
    5>f:\server\hercules\src\map\skill.c(15013): error C2059: syntax error : '}'
    5>f:\server\hercules\src\map\skill.c(19860): error C2065: 'skill_castend_nodamage_id_dead_unknown' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(19860): warning C4047: '=' : 'bool (__cdecl *)(block_list *,block_list *,uint16 *,uint16 *,int64 *,int *)' differs in levels of indirection from 'int'
    5>f:\server\hercules\src\map\skill.c(19874): error C2065: 'skill_get_requirement_off_unknown' : undeclared identifier
    5>f:\server\hercules\src\map\skill.c(19874): warning C4047: '=' : 'bool (__cdecl *)(status_change *,uint16 *)' differs in levels of indirection from 'int'
    

    how to fix this error

     

     

    I think you copy not all code. Check again.


  5. 
    

    getguildmember getcharid(2), 1;

    getguildmember getcharid(2), 2;

     

    for( .i = 0; .i < getarraysize($@guildmemberaid); .i ++ )

    if( isloggedin( $@guildmemberaid[.i], $@guildmembercid[.i] ) )

    .Online_Char ++;

     

    mes "There is " + .Online_Char + " characters online on your guild.";

    close;

    
    

    query_sql( "SELECT guild_lv FROM guild WHERE guild_id = " + getcharid(2), .GLV );

     

    mes "Guild Level : " + .GLV;

    close;

     


  6.  

     

    I had a look at some of your other stuff and you are awesome! I tried setting this up on a local server but couldn't get it to work @_@ oh well

    You have some errors?

     

    Hm yes, in bg_register.txt, the error I get in console is -

    script error in file bg_register.txt line 38 column 60, parse_subexpr: need ':'

     

    And this is line 38. " get_uniqueid() " is the part in question.

     

     

            if( qiget(.@qid1) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) || qiget(.@qid2) == ( .MultipleCheck == 1? get_unique_id():getcharip() ) )

    Set variable .MultipleCheck to 2.

     

    How to use / install this? any guide or documentation?

    Documentation on Git:

    https://github.com/kubixservice/QueueBG/blob/master/src/bg_rewrite.c

×
×
  • Create New...

Important Information

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