Jump to content

bossemoja

Members
  • Content Count

    8
  • Joined

  • Last visited

Posts posted by bossemoja


  1. Go to src/map/status.c and look for this:

    #include "../common/cbasetypes.h"#include "../common/ers.h"#include "../common/malloc.h"#include "../common/nullpo.h"#include "../common/random.h"#include "../common/showmsg.h"#include "../common/strlib.h"#include "../common/timer.h"#include "../common/utils.h"

    Add after it:

    #include "../common/socket.h"

     

    Save it and try to recompile.

    Oh Thx 

     

    but  skill no delay


  2. how to fix ?

     

    unsigned short idle_ = cap_value(DIFF_TICK32(sockt->last_tick, sd->idletime), 0, USHRT_MAX);

     

    5>c:usersbossdesktopsweetplusservertrunksrcmapstatus.c(10467): error C2065: 'sockt' : undeclared identifier
    5>c:usersbossdesktopsweetplusservertrunksrcmapstatus.c(10467): error C2223: left of '->last_tick' must point to struct/union
    5>c:usersbossdesktopsweetplusservertrunksrcmapstatus.c(10467): error C2065: 'sockt' : undeclared identifier
    5>c:usersbossdesktopsweetplusservertrunksrcmapstatus.c(10467): error C2223: left of '->last_tick' must point to struct/union
    5>c:usersbossdesktopsweetplusservertrunksrcmapstatus.c(10467): error C2065: 'sockt' : undeclared identifier
    5>c:usersbossdesktopsweetplusservertrunksrcmapstatus.c(10467): error C2223: left of '->last_tick' must point to struct/union
    5>c:usersbossdesktopsweetplusservertrunksrcmapstatus.c(10467): fatal error C1903: unable to recover from previous error(s); stopping compilation

  3.  

    I used to help with this. Can not do anything. 

     

    screen_ToKiMiKiSutdiO_000JO6vo.jpg

     

     

     

    // ------------------------------------------------------------------------------------------// ------ Script Release// Title: Premium/ViP Services System// Author: Diconfrost VaNz - www.wipeoutgaming.info - [email protected]// Version: 2.0// Special thanks to the following for helping me making this script// Jezu// Dastgr// clydelion//// Note: This is a character-based script. If you want to make this into Account-Based, just put "#" beside "#prmm".// ------------------------------------------------------------------------------------------prontera,155,181,5    script    Clahador    757,{mes "[^FF0000"+strnpcinfo(1)+"^000000]";mes "Hello "+strcharinfo(0)+", I'm ^FF0000Clahador the butcher^000000.";mes "I will be of help if you need something.";next;mes "[^FF0000"+strnpcinfo(1)+"^000000]";mes "Oh! you need help?";mes "What kind of help do you need?";next;switch( select ( "Newbie here", "I'm a ViP!", "Nevermind" ) ) {    case 1:        mes "[^FF0000"+strnpcinfo(1)+"^000000]";        mes "Did you already claim your free items in the ^FF0000Freebies NPC^000000???";        if ( select ( "Yes","No" ) == 2) close;            mes "[^FF0000"+strnpcinfo(1)+"^000000]";            mes "Haha, i hope you like those items.";            next;            mes "By the way, you can earn zennies through quests like going to daily quest, request board, and many more!";            mes "Did you know that you can have many zennies you want if you gonna hunt more rare items?";            mes "Try it!";            close;    case 2:        mes "[^FF0000"+strnpcinfo(1)+"^000000]";        mes "Oh you avail our ViP Ticket!";        mes "Thank you!";        next;        mes "[^FF0000"+strnpcinfo(1)+"^000000]";        mes "Your Premium Service will expire after " + callfunc("Time2Str",#prmm);        mes "You should maximize it";        mes "Grind your skills and hunt now!";        close;    case 3:        close;}OnAtcommand:    dispbottom "Your Premium Service will expire after " + callfunc("Time2Str",#prmm);    end;OnInit:        bindatcmd "premium",strnpcinfo(3)+"::OnAtcommand";    end;}function    script    getPremium    {    set .@ticks, getarg(0);    if (.@ticks <= 0) {        debugmes "getPremium - tried to set a timer in the past";        end;    }    set #prmm, ((#prmm > gettimetick(2))? #prmm : gettimetick(2)) + .@ticks;    doevent "login::OnPCLoginEvent";    return;}-    script    login    -1,{OnPCLoginEvent:    if (#prmm > gettimetick(2)) {    dispbottom "Your Premium Service will expire after " + callfunc("Time2Str",#prmm);    sc_start SC_CASH_PLUSEXP,(( #prmm - gettimetick(2) ) * 1000 ),200;    sc_start SC_CASH_PLUSONLYJOBEXP,(( #prmm - gettimetick(2) ) * 1000 ),200;    sc_start SC_CASH_RECEIVEITEM,(( #prmm - gettimetick(2) ) * 1000 ),100;    atcommand "@adjgroup 1 "+strcharinfo(0);    deltimer strnpcinfo(3)+"::OnPCLoginEvent";} else if (#prmm) {    atcommand "@adjgroup 0 "+strcharinfo(0);    sc_end SC_CASH_PLUSEXP;    sc_end SC_CASH_PLUSONLYJOBEXP;    sc_end SC_CASH_RECEIVEITEM;    set #prmm, 0;    dispbottom "Premium Services has ended.";}end;}

     

     

    I edited some parts.

    Thank you very much.^^"

×
×
  • Create New...

Important Information

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