Jump to content

rans

Members
  • Posts

    429
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by rans

  1. Good day!
    I'm having error on adding custom monster on the server.
    having above 4k+ id result into client crash.
    i can't seem to find a suitable place for 3k-4k since its already been use by default.

    any suggestion what to do?

  2. 15 hours ago, GodKnows Jhomz said:

    Check "db/(pre-)re/item_delay.txt" and try to add this :
    501,500,SC_REUSE_LIMIT_MTF
    502,500,SC_REUSE_LIMIT_MTF
    503,500,SC_REUSE_LIMIT_MTF

    Its in the file on how to use the SC_GroupId for the item delay.
     

    
    // <SC_GroupID>
    //     SC (status change) group for the item.
    //     Example for SC_REUSE_LIMIT_MTF
    //         12658,10000,SC_REUSE_LIMIT_MTF // Transformation Scroll(Deviruchi)
    //         12659,10000,SC_REUSE_LIMIT_MTF // Transformation Scroll(Raydric)
    //     -> 12658 has reuse delay for 10 seconds, and also,
    //        12659 cannot be used when this delay is active.

    Hope it helps.

    Thanks i'll try it

  3. Hello Good day to all.
    Can i request a function of delay. 
    The function will have a list of item ids that will share its delay/cooldown. for example i put item id 501,502,503 on the function and set the delay to 500ms
    when i use the 501 item id. the other item (502,503) will also cooldown the same time with 501.

    Thanks!

  4. Hello, so i've setup a paypal donation on my fluxCP.
    set the business email. and ipn to mysite.com/cp/?module=donate&action=notify
    the balance would transfer but in the account on fluxcp there is no credit increase. it just remain to 0.
    i've tried sandbox even real one. still the same result

    I've research some of the topic but seems no one to work.

  5. 3 hours ago, Secrets said:

    Export your database as a SQL file then remove all occurences of NULL, do some regex magic to remove quotes and add braces to item scripts.

    That's how I did it back then.

    Bingo, you have your TXT database :)

    
    REPLACE INTO `item_db_re` VALUES (501,'Red_Potion','Red Potion',0,50,NULL,70,NULL,NULL,NULL,NULL,0xFFFFFFFF,63,2,NULL,NULL,NULL,NULL,NULL,'itemheal rand(45,65),0;',NULL,NULL);
    
    501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(45,65),0; },{},{}

     

    Hi thanks for answering!
    now i have idea

  6. 3 hours ago, Ninja said:

    what I did to fix my compilation problem was to install the full gcc package. Hence,

    
    yum install -y gcc*

     

    I don't have problem with ./configure  or error on compilation but 
    i just get so many warnings regarding with

    "shadows a global declaration" warning: shadowed declaration is here 

  7. Hello, not so sure if this is normal or error, as of (5/16/17 7:25pm) gmt+8 i've clone a fresh copy of rathena and try to compile it. and i was surprise too many warnings

    i ddnt post it on github because i am not sure if this is normal or bug. 

  8. On 7/26/2013 at 11:01 PM, Skorm said:
    
    -	script	dualclientkicker2	-1,{
    OnPCLoginEvent:
    	set .@len, query_sql("SELECT DISTINCT `account_id` FROM `char` WHERE `account_id` IN "+
    		"(SELECT `account_id` FROM `login` WHERE `last_mac` = "+
    		"(SELECT `last_mac` FROM `login` WHERE `account_id`="+getcharid(3)+")) AND `online` <> 0;",.@a);
    	sleep2 1000;
    	if(.@len>.max)
    		atcommand "@kick "+strcharinfo(0);
    	end;
    	
    OnInit:
    	set .max, 2; //Max Connections.
    }

     

    Use whatever script you want mine worked when I tested it. -.-

    Hi @Skorm  Just wanted to ask if you could make this check for IP && Mac address cause sometimes in rare cases my players having the same Mac address but different IP.
    I'm no good at SQL scripting so i was wondering if how can i make it check for both ip and mac before kicking the player. thanks

×
×
  • Create New...