Jump to content

Erba

Members
  • Posts

    550
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Erba

  1. i am very troubled, i cant leave my server for days because my server crashes for a reason i dont know.. i dont have any errors in my PuTTY.. i am very clueless on how to stop this auto server crash..

     

    btw i am using:

     

    rAthena Version Git Hash: 0766c732299a8149ca5fbe3037326f8b60027ee

     

    any idea or help on how to solve this kind of weird problem? anyone whom experience this kind of problem and were able to fix this problem?


    i think i found the problem which i am being troubled with..

    Logging is disable
    ./athena-start: line 48: [: 15305: binary operator expected
    Can't start 'login-server', cause is already running p15305 ?
    ./athena-start: line 48: [: 15307: binary operator expected
    Can't start 'char-server', cause is already running p15307 ?
    
    

    am i right? 

    can someone help me with this?

    after this shows up in my putty the server is working fine, but the PuTTy doesnt recognize nor count any players nor account that logs in


    WHEN SNIPER Shecil summon his minions the server crashes


    Another problem with these:

    ./athena-start: line 72: [: 19927: binary operator expected
    ./athena-start: line 72: [: 19936: binary operator expected
    ./athena-start: line 72: [: 19942: binary operator expected
    
    

    Problem solved by removing all the skills of Sniper Cecil

     

    kindly close this topic thank you!

  2. Hello Good professionals in SRC.. can i request a modification of the skill Redemption of the Priest Class..

     

    Will make Redemption skill like this:

     

    Redemption

    Description:

    Casts the skills Level 10 "Increase Agi(canto candidus)" , "Blessing(Clementia)" , "Kyrie Eleison(Praefatio)" , "Gloria" , "Magnificat" , and "Angelus" to all party members.

     

    Sp consumption: 10% of the Priest Max SP.

     

    thanks in advance ")

  3. How can i make a shop for this script that will make WOE Points as the currency and it is a shop for the guild master only?


     

     

    where to add this one?


    or will i just let this inside the script? sorry for a newbie question

    OnBreakEmp: // put doevent under OnAgitBreak ...
        query_sql "insert into woe_point values ( "+ getcharid(2) +", 1 ) on duplicate key update points = points +1";
        end;
    
    

    Leave this alone in the script

     

     

    In guild/agit_main.txt add after OnAgitBreak:

    doevent "Woe Points::OnBreakEmp";
    

    Bump

  4.  

    find

    getitem @bought_nameid[.@i], @bought_quantity[.@i];

    replace

    getitembound @bought_nameid[.@i], @bought_quantity[.@i],x;

    change x to

     

    Valid bound types are:

     1 - Account Bound

     2 - Guild Bound

     3 - Party Bound

     4 - Character Bound

     

    okay will try this later! thanks for replying

  5. //===== eAthena Script =======================================
    //= Custom-Currency Multi-Shop
    //===== By: ==================================================
    //= Euphy
    //===== Current Version: =====================================
    //= 1.2
    //===== Description: =========================================
    //= Allows for better organization in a single shop call.
    //= Note that there are two configuration areas.
    //============================================================
    
    // -------------------- Config 1 --------------------
    // For each shop added, copy this MSHOPX dummy data.
    // Write your shop names in the select() function.
    
    -	shop	VSHOP1	-1,512:-1
    
    turbo_room,107,121,4	script	Vote Shop	73,{
    
    	set @s, select("Shop");
    
    // --------------------------------------------------
    
    	message strcharinfo(0),"This shop only accepts "+getitemname(.Currency[@s])+".";
    	dispbottom "You have "+countitem(.Currency[@s])+" "+getitemname(.Currency[@s])+".";
    	callshop "VSHOP"+@s,1;
    	npcshopattach "VSHOP"+@s;
    	end;
    
    OnBuyItem:
    	set .@i,0;
    	while (.@i < getarraysize(@bought_nameid)) {
    		set .@j, 0;
    		while (.@j < getarraysize(getd(".Shop"+@s))) {
    			if(getd(".Shop"+@s+"["+.@j+"]") == @bought_nameid[.@i]) {
    				set @itemcost, (getd(".Shop"+@s+"["+(.@j+1)+"]") * @bought_quantity[.@i]);
    				set @totalcost, @totalcost + @itemcost;
    				break; }
    			set .@j, .@j+2; }
    		set .@i, .@i+1; }
    	if (@totalcost > countitem(.Currency[@s])) dispbottom "You don't have enough "+getitemname(.Currency[@s])+".";
    	else {
    		set .@i,0;
    		while (.@i < getarraysize(@bought_nameid)) {
    			getitem @bought_nameid[.@i], @bought_quantity[.@i];
    			dispbottom "Purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+".";
    			set .@i, .@i+1; }
    		delitem .Currency[@s], @totalcost; }
    	set @totalcost, 0;
    	deletearray @bought_nameid[0], 128;
    	deletearray @bought_quantity[0], 128;
    	end;
    
    OnInit:
    	waitingroom "Vote Shop",0;
    
    // -------------------- Config 2 --------------------
    // Currency:  The ID of each shop currency,
    //    in the same order as the shops.
    // Shop order follows that of the select() call,
    //   and is formatted "ID1,Count1,ID2,Count2,..."
    
    	setarray .Currency[1],7350;
    	setarray .Shop1[0],30300,100,30301,100,30302,100,30303,100;
    
    
    // --------------------------------------------------
    
    	set .@i,1;
    	while (.@i <= getarraysize(.Currency)) {
    		set .@j,0;
    		while (.@j < getarraysize(getd(".Shop"+.@i))) {
    			npcshopdelitem "VSHOP"+.@i,512;
    			npcshopadditem "VSHOP"+.@i, getd(".Shop"+.@i+"["+.@j+"]"), getd(".Shop"+.@i+"["+(.@j+1)+"]");
    			set .@j, .@j+2; }
    		set .@i, .@i+1; }
    	end;
    }
    
    

    How Can i make this shop sells guild/party/account/character bound items?

  6.  

    It had bug with newest rathena with this feature:

     

    // Autotrade persistency (Note 1)

    // Should vendors that used @autotrade be restored after a restart?

    feature.autotrade: on

     

    Need to fix

    SQL

    CREATE TABLE IF NOT EXISTS `vending_items` (
      `vending_id` int(10) unsigned NOT NULL,
      `index` smallint(5) unsigned NOT NULL,
      `cartinventory_id` int(10) unsigned NOT NULL,
      `amount` smallint(5) unsigned NOT NULL,
      `price` int(10) unsigned NOT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
    
    need add `type` int(10) unsigned NOT NULL for item you vend.

    Vending.c

    if( Sql_Query( mmysql_handle, "INSERT INTO `%s`(`vending_id`,`index`,`cartinventory_id`,`amount`,`price`) VALUES( %d, %d, %d, %d, %d );", vending_items_db, sd->vender_id, i, sd->status.cart[sd->vending[i].index].id, sd->vending[i].amount, sd->vending[i].value ) != SQL_SUCCESS ){
    
    need to get item type that you vend to insert to the database.

    void vending_reopen( struct map_session_data* sd ){
    
    need add variable item type that you vend.

    if you want to fix this faster, help each other.

     

    im somehow confused with these XD

  7. //FAST TYPE EVENT
    //Credits to Emistry for making the script
    //Paulinds for requesting the script, details & idea.
    
    prontera,218,170,4	script	Fast-Type Event	421,{
    
    if(getgmlevel() >= 99) callsub L_GM;
    if( !.Event ) { 
    	mes "There is no Event right now.";
    } else if ( .String$ == "" ) {
    	npctalk "Wait for the next round..";
    
    } else {
    	mes "Type the Correct Sentences.";
    	mes "^FF0000" + .String$ + "^000000";
    	input .@Type$;
    	if( .String$ == "" ) {
    		announce "Sorry, " + strcharinfo(0) + " is a bit slow..",0;
    		close;
    	}
    	if ( .String$ == .@Type$ && .Event ) {
    		getitem 25138, 10; //EDIT THE PRIZE HERE 
    		announce "Fast-Type Event: " + strcharinfo(0) + " typed the correct string!",0;
    		set .String$, "";
    		set .Round, .Round + 1;
    		donpcevent "Fast-Type Event::OnStart2";
    	} else {
    		announce "" + strcharinfo(0) + " mispelled some strings XD",0;
    	}
    }
    close;
    
    //OnMinute30:
    OnClock0000:
    OnClock0200:
    OnClock0400:
    OnClock0600:
    OnClock0800:
    OnClock1000:
    OnClock1200:
    OnClock1400:
    OnClock1600:
    OnClock1800:
    OnClock2200:
    OnClock2300:
    
    if(.Event) end;
    donpcevent "Fast-Type Event::OnStart";
    end;
    
    OnStart:
    announce "Fast-Type Event has started at prontera 218 173 !",0;
    L_Begin:
    set .Event, 1;
    set .String$, "";
    while( getstrlen( .String$ ) < .Length ){
    	set .String$,.String$ + .List$[ rand( getarraysize( .List$ ) ) ];
    }
    announce "Round "+(.Round+1)+" Started !",0;
    end;
    
    OnStart2:
    sleep2 5000;
    if(.Round == .Rounds) {
    	if(!.Event) end;
    	announce "Fast-Type Event: Event is over!",0;
    	set .Event, 0;
    	set .Round, 0;
    	end;
    }
    if(!.Event) end;
    announce "Fast-Type Event: Next round starts in 5 seconds...",0;
    sleep2 5000;
    if(!.Event) end;
    goto L_Begin;
    
    L_GM:
    mes "Fast-Type event is" + (.Event?"^00FF00 ON^000000":"^FF0000 OFF^000000");
    if(select((!.Event?"^00FF00Start":"^FF0000End") + " Event^000000","Normal Player") == 2) return;
    switch(.Event) {
    	case 1:
    		set .Event, 0;
    		set .Round, 0;
    		set .String$, "";
    		announce "Fast-Type Event: A GM has ended the event.",0; break;
    	default: 
    		donpcevent "Fast-Type Event::OnStart";
    }
    close;
    
    OnInit:
    set .Length,28; //EDIT THE LENGTH OF CHARACTERS TO BE TYPED
    set .Rounds,5; //EDIT THE ROUNDS 
    setarray .List$,";","B","_","D","E","%","=","H","I","J","/","L","M","N","6","P","Q","]","S","T",","; //YOU CAN ADD LETTERS, DIGITS & SYMBOLS HERE..
    end;
    }
    

    THis one sir

  8. my problem with the fast type event is that it happens to always detect the answer as a foul language even if the answer is gibberish like " )#598PFDS)(I40Y)H" i just encounter this problem after updating my server files to the latest one in the github..

     

    how can i fix this?

×
×
  • Create New...