Jump to content

Cyro

Members
  • Posts

    1137
  • Joined

  • Last visited

  • Days Won

    30

Posts posted by Cyro

  1. 12 minutes ago, rmon said:

    Currently hosting mine at google cloud 

    with 1vcpu and 1.7gb ram 

    is it sufficient enough to handle web and server host in one instance ? 

    that should be enough to host both, but i wouldn't suggest to host both of them in same vps for various reasons , imo hosting patcher/forums/flux does effect, your bandwidth can handle all of them?

  2. -	script	autojoin	-,{
    
    OnPCLoginEvent:
    query_sql("SELECT `points` FROM `cp_v4p_voters` WHERE account_id="+getcharid(3)+" LIMIT 1",.@points);
       if (!.@points) end;
       query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@points+") WHERE account_id='"+getcharid(3)+"'");
       set #VOTEPOINTS, #VOTEPOINTS+.@points;
       dispbottom "Vote Points updated! Total: "+#VOTEPOINTS;
    end;
    }
    prontera,165,165,4	script	Vote for Points Shop	506,{
    dispbottom "You currently have "+#VOTEPOINTS+" Vote Points.";
    callshop "v4p_shop",1;
    end;
    }
    
    -	pointshop	v4p_shop	-1,#VOTEPOINTS,512:20

     

  3. Also changed this ?

    / How many characters are allowed per account?

    // You cannot exceed the limit of MAX_CHARS slots, defined in mmo.h, or chars_per_account

    // will default to MAX_CHARS.

    // 0 will default to the value of MIN_CHARS. (default)

    chars_per_account: 0

     

     

    Make sure to recompile your server

×
×
  • Create New...