Jump to content

krisnx

Members
  • Posts

    104
  • Joined

  • Last visited

Posts posted by krisnx

  1. you must have

    .bmp file for view on mini map

    .gat , .rsw , .gnd file for your map

     

    don't forget to check your warp point for warp to house (npc etc)

     

    if using new client

    update your Towninfo.lua in folder System (clientside) for postition npc on your mini map

     

    :D

  2. i think this script has been check if you has been finish the quest

     

    you can look in here

    	else if (GUNS_Q == 6) {
    		mes "[Wise Bull Horn]";
    		mes "AAh, long time no see.";
    		mes "I hope that you become";
    		mes "a smart beast, and use";
    		mes "your powers as a Gunslinger to protect what is good and just.";
    		close;
    	}
    	else {
    		mes "[Wise Bull Horn]";
    		mes "Zzzzzz~";
    		mes "^333333*Phew*^000000";
    		close;
    	}
    
  3. 
    

    moroccx,152,134,0 script School of Fish 844,{

    if (isequipped(2764)) && (isequipped(2775)){

    specialeffect2 EF_BUBBLE;

    set [email protected],7;

    if (isequipped(2550)) { //Fisher's_Muffler

    set [email protected],[email protected] - 3;

    }

    if (isequipped(2443)) { //Fish_Shoes

    set [email protected],[email protected] - 2;

    }

    progressbar "ffffff",[email protected];

    if (rand(1,20) == 2) {

    getitem 13550,10; //Big Fish

    specialeffect EF_BUBBLE;

    mapannounce "allstar","" + strcharinfo(0) + " has caught a Fish Slice Box!!!",bc_map,"0xff77ff";

    end;

    }

    set [email protected]_ran,rand(1,70);

    if ([email protected]_ran < 20) {

    getitem 7420,5; //Fresh Fish

    }

    else if ([email protected]_ran == 20) {

    getitem 13604,1; //Spawn

    }

    else if ([email protected]_ran == 21) {

    getitem 13592,1; //Jellopy

    }

    else if ([email protected]_ran == 22) {

    getitem 13578,1; //Sharp_Scale

    }

    else if ([email protected]_ran == 23) {

    getitem 13596,1; //Gill

    }

    else if ([email protected]_ran == 24) {

    getitem 13572,1; //Marlin

    }

    else if ([email protected]_ran == 25) {

    getitem 13574,1; //Sticky_Webfoot

    }

    else if ([email protected]_ran == 26) {

    getitem 13891,1; //Nipper

    }

    else if ([email protected]_ran == 27) {

    getitem 13892,1; //Garlet

    }

    else if ([email protected]_ran == 28) {

    getitem 13893,1; //Sticky_Mucus

    }

    else if ([email protected]_ran == 29) {

    set #CASHPOINTS, #CASHPOINTS + 5; // <-- Cashpoint

    }

    else if (([email protected]_ran > 29) && ([email protected]_ran < 40)) {

    getitem 13894,1; //Rotten Fish

    }

    else {

    mes "Nothing was caught.";

    close;

    }

    if (rand(1,200) == 3) {

    getitem 13550,10; //Gift_Box

    mapannounce "allstar","" + strcharinfo(0) + " has caught a Fish Slice Box!!",bc_map,"0x00ffff";

    }

    if (rand(1,500) == 3) {

    getitem 12106,1; //Old_Blue_Box

    mapannounce "allstar","" + strcharinfo(0) + " has caught an Jewelry Box!!",bc_map,"0x00ffff";

    }

    if (rand(1,3000) == 3) {

    getitem 12106,1; //Old_Violet_Box

    mapannounce "allstar","" + strcharinfo(0) + " has caught an Jewelry Box!!",bc_map,"0x44ff44";

    }

    end;

    }

    else {

    mes "Fish are swimming in the water.";

    close;

    }

    }

  4. try to delete line 1 to 13 , and you only use this

    -    script    Hour_Reward_Points    -1,{
    
    OnInit:
        set .TimeInMinutes,5; //Check at 5 Minutes
        set .WhatRewardHour,1; //Reward at 1 Hour
        set .ItemIDReward,5012; //Reward ID, 5012
        set .ItemRewardAmount,1; //Reward Amount
    end;
        
    
    OnPCLoginEvent:
        dispbottom "Hourly Rewards have been started for this character.";
        
    while(1) //Must Leave it run constantly.
        {
            sleep2 60000*.TimeInMinutes; //5 Minutes == Will Check Players activity after this time in milliseconds.
            if ( checkidle() > 300) //Check if player has been active or not.
            {
                if ( checkvending() == 2 ) end; //Check if Auto Vending.
                while ( checkidle() > 1 ) //Pause count while player is inactive, also checks for activity.
                    sleep2 1000;
            }
                else
            {
                set [email protected], [email protected] + .TimeInMinutes; //Count Total Time Active Within the hour.
                if ( [email protected] == .WhatRewardHour ) //Player has been active for .WhatRewardHour throughout the login time.
                {
                    mes "You have been awarded an Apple for your activity.";
                    close2;
                    getitem .ItemIDReward,.ItemRewardAmount; //When Player has been active for One Hour
                    set [email protected],0; //Reset Time Active.
                }
            }
        }
    OnPCLogoutEvent:    
        end;
    }
    
  5. 
    

    F18: setarray @c[0],181,240,195,270,235,202,188,215,205,144,245,223,180,206,196,208;

    Disp("Mjolnir Field 5:Mjolnir Field 6:Mjolnir Field 7:Mjolnir Field 8:Mjolnir Field 9:Mjolnir Field 10:Mjolnir Field 11:Mjolnir Field 12");

    Pick("moc_fild05","moc_fild06","moc_fild07","moc_fild08","moc_fild09","moc_fild10","moc_fild11","moc_fild12");

    • Upvote 1
  6. -    script    RewardPointConvertnew    -1,{
    OnPCLoginEvent:
        query_sql("SELECT `credits` FROM `cp_votes` WHERE account_id="+getcharid(3)+" LIMIT 1",[email protected]);
        if ([email protected])
        end;
    
        query_sql("UPDATE `cp_votes` SET credits=(credits-"[email protected]+") WHERE account_id='"+getcharid(3)+"'");
        set #CASHPOINTS, #[email protected];
        dispbottom "Cash Point updated! Total: "+#CASHPOINTS;
        dispbottom "Please relogin ~";
        end;
    }
    

    -[TAB]script[TAB]RewardPointConvertnew[TAB]-1,{

     

    in first line check TAB , if error in line 1 :D

  7. you can only change IP in clientinfo.xml

     

    client A : setting your IP to 192.168.0.1

    client B : setting your IP to 192.168.0.2

    client C : 192.168.0.3

    client D : 192.168.0.4

    etc ...

     

    edit your IP in clientinfo.xml to 192.168.0.1 and then give it to your another client ..

     

     

    if you only play it using wireless or LAN only :D

  8.  

     

    After voting in flux there is a remark that the players gained 10 Votes

     

    But during in game when using votes to buy on vote shop, It does say that the player doesn't have any vote/cash

     

    What is the problem here thank you

     

    maybe you need convert it to variable #CASHPOINTS and using OnPCLoginEvent to convert it to cash shop in the game :D

    in my private server using this script to convert it .

    -	script	VotePointConvert	-1,{
    OnPCLoginEvent:
    	query_sql("SELECT `YOURCOLUMNPOINTS` FROM `YOURTABLEVOTE` WHERE account_id="+getcharid(3)+" LIMIT 1",[email protected]);
    	if ([email protected]) end;
    	query_sql("UPDATE `COLUMNUSER` SET YOURCOLUMNPOINTS=(YOURCOLUMNPOINTS-"[email protected]+") WHERE account_id='"+getcharid(3)+"'");
    	set #CASHPOINTS, #[email protected];
    	//set #VOTEPOINTS, 0;
    	dispbottom "Cash Points updated! Total: "+#CASHPOINTS;
    	end;
    }
    

    maybe it can help you sir :D

     

     

    What will be the COLUMNUSER ? YOURCOLUMNPOINTS?  and YOURTABLEVOTE?

     

    this is table from your vote database , like this :

    	  CREATE TABLE `vote_point` (
          `account_id` int(11) NOT NULL default '0',
          `point` int(11) NOT NULL default '0',
          `last_vote1` int(11) NOT NULL default '0',
          `last_vote2` int(11) NOT NULL default '0',
          `last_vote3` int(11) NOT NULL default '0',
    	  `last_vote4` int(11) NOT NULL default '0',
    	  `last_vote5` int(11) NOT NULL default '0',
          `date` text NOT NULL,
          PRIMARY KEY  (`account_id`)
        ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
    

    i use this query for save my vote points

    -    script    RewardPointConvertnew    -1,{
    OnPCLoginEvent:
        query_sql("SELECT `point` FROM `vote_point` WHERE account_id="+getcharid(3)+" LIMIT 1",[email protected]);
        if ([email protected])
        end;
    
        query_sql("UPDATE `vote_point` SET point=(point-"[email protected]+") WHERE account_id='"+getcharid(3)+"'");
        set #CASHPOINTS, #[email protected];
        dispbottom "Cash Point updated! Total: "+#CASHPOINTS;
        dispbottom "Harap Relogin kembali ~";
        end;
    }
    

    and use this for convert it to cash point ,

     

    maybe it different with you database, so i use the COLUMNUSER, YOURCOLUMNPOINTS and YOURTABLEVOTE for example row in database :)

     

    note : first script its wrong sir , sorry my mistake :D

     

    post here your database where it save the vote from flux..

  9. After voting in flux there is a remark that the players gained 10 Votes

     

    But during in game when using votes to buy on vote shop, It does say that the player doesn't have any vote/cash

     

    What is the problem here thank you

     

    maybe you need convert it to variable #CASHPOINTS and using OnPCLoginEvent to convert it to cash shop in the game :D

    in my private server using this script to convert it .

    -	script	VotePointConvert	-1,{
    OnPCLoginEvent:
    	query_sql("SELECT `YOURCOLUMNPOINTS` FROM `YOURTABLEVOTE` WHERE account_id="+getcharid(3)+" LIMIT 1",[email protected]);
    	if ([email protected]) end;
    	query_sql("UPDATE `COLUMNUSER` SET YOURCOLUMNPOINTS=(YOURCOLUMNPOINTS-"[email protected]+") WHERE account_id='"+getcharid(3)+"'");
    	set #CASHPOINTS, #[email protected];
    	//set #VOTEPOINTS, 0;
    	dispbottom "Cash Points updated! Total: "+#CASHPOINTS;
    	end;
    }
    

    maybe it can help you sir :D

×
×
  • Create New...

Important Information

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