Jump to content

Patskie

Community Contributors
  • Content Count

    366
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Patskie


  1.  

     

    [cbox]<?php

    $names = array("Jezu","dastgirpojee","JayPee","nanakiwurtz","hemagx","malufett","pr3p","nndsl","Zopokx","Vali","Virtue","M45T3R","Michieru","Judas","Beret","Yommy");

    echo "Hi ";

    foreach($names as $value) {

    if ($value != "Yommy") {

    echo $value." & ";

    }

    elseif ($value == "Yommy") {

    echo $value.", ";

    }

    }

    echo "I'm Jman.";

    ?>[/cbox]

    /me joins the trend, in c.
    int main(int argc, char **argv) {	const char* peepz[17] = {	"Jezu","dastgirpojee","JayPee","nanakiwurtz","hemagx","malufett","pr3p","nndsl","Zopokx","Vali","Virtue","M45T3R","Michieru","Judas","Beret","Yommy","Jman"	};	int i;	for(i = 0; i < 17; i++) {		if( i != 16 )			printf("%s & ",peepz[i]);		else			printf("%s , ",peepz[i]);	}	printf("I'm Ind"); return 0;}

     

    /me does java version

     

     

    public class Hello{	public	static	void	main(String[] args){		int i;		String[] names = {"Jezu","dastgirpojee","JayPee","nanakiwurtz","hemagx","malufett","pr3p","nndsl","Zopokx","Vali","Virtue","M45T3R","Michieru","Judas","Beret","Yommy","Jman","Ind"};		System.out.print("Hi");				for(i = 0; i < names.length; i++){			System.out.print(" "+names[i]);			if(i != (names.length-1))				System.out.print(" &");			if(i == (names.length-1))				System.out.print(".n");		}		System.out.print("I'm Streusel.");	}}

    C# version : 

     

    static void Main(string[] args)        {            string[] names = {"Yommy","Beret", "Judas", "hemagx", "Michieru", "M45T3R", "Virtue", "Vali", "Zopokx", "nndsl", "pr3p", "malufett",                              "hemagx", "nanakiwurtz", "JayPee", "dastgirpojee", "Jezu", "Jman", "Ind", "Nameless2you", "Squishyyy", "kyeme",                             "Frost", "MStream", "latheesan", "clydelion"};            string name = "Patskie";            for (int i = 0; i < names.Length; i++)            {                Console.WriteLine("Hello {0}, i am {1}", names[i], name);            }            Console.ReadLine();        }

  2. Hello, nah!  :meow:  my firstime to request in this script section thread, Please correct me if i'm in the wrong thread maybe this could be source or script area.

    My request is, can i request a script or source that, attach only + attributes? not the based attributes.

    for e.g my max stats is 199 (for Highrate server), and then a player told me if it would be nice if we will put an NPC Donation that gives +attributes that maximum atleast +50, depends only if the player which +attributes he/she will add

    example: A player want to increase his/her STR + attributes to the max of set. +50 (or it could be set to owner's like)

    If possible? each +attributes different payments? e.g for STR - 607 AGI - 607 VIT - 608 INT - 609 DEX - 609 LUK - 610

     

     

    since i don't want to have costume items with {statsall}

     

    attachicon.gifStats.png

     

    Please let me know if this is possible.

    I'd be happy if someone could do this for me.

     

     

     

    Thank yo for helping!!! :meow:  :meow:  :meow:

    199+9

     

    You mean your npc will add stats on the 9?


  3. Description : A simple castle drop exchanger npc to provide trading system from one castle drop to another. This is useful esp. for those server wherein some castle drops are not that useful or are not used for some quest like break the seal and so on. Suggestions and bug reports are appreciated. Credits also to Annieruru.
     
    How to use : Must have items specified on the script to exchange also on the items specified on the script.

    setarray .itemid, 7074, 7075, 7076, 7077, 7088, 7089, 7090;

     
    Configuration :
     
    NPC Name (Default: NPC Name) :

    set $npc$,"^FF0000" +strnpcinfo(1)+ "^000000";

    Zeny to use the service :

    .req_zeny = 10000;

    Items needed to be traded and items to be traded :

    setarray .itemid, 7074, 7075, 7076, 7077, 7088, 7089, 7090;

     
    Changelog : 


    1.0 - Initial Release


     
    cdexchanger.txt


  4. This script enhances player capabilities by depositing, withdrawing and inquiring their balance anytime, anywhere!
     
    How to use : 
    Just use @atm in-game.
     
    How to install : 
    • Import the bank.sql on your database REMOVED ON VERSION 2.0

     Go to conf/script.conf

    • Find input_max_value: 10000000 and change it to 2147483647

    • Go to src/common/mmo.h

    • Find #define MAX_ZENY 1000000000 and change it to 2000000000

    • Recompile your server and re-start it

    • Put atm.txt on your npc folder
    • Reload the script by using @reloadscript or @loadscript and enjoy!
     
    Script features : 
    • Register your account on the bank REMOVED ON VERSION 2.0

    • Automatically register your account to the bank system  ADDED ON VERSION 2.0

    • Interest triggers every 00:00 each day ADDED ON VERSION 2.0 THANKS TO ANGELMELODY FOR THE SUGGESTION!

    • Limited times of reminder on your account number during login ADDED ON VERSION 2.0

    • The bank can hold up to 9,223,372,036,854,775,807 zeny from it's original 2,147,483,647 zeny ADDED ON VERSION 2.0
    • Deposit zeny to the bank

    • Withdraw zeny from the bank
    • Inquire your account balance
     
    Script restriction : 

    • You should put your account number first before doing transactions. By default your account number is your account id ADDED ON VERSION 2.0
    • Restrict 0 zeny deposit and withdraw
    • Restrict depositing amount which is larger than the current holding zeny
    • Restrict the user to withdraw amount which is larger than the balance of the account
    • Restrict the user to withdraw which will probably result of holding 2,000,000,000 zeny or more
     

    Changelog : 

    1.0 - Initial Release

    2.0 - Massive update!



    atm.txt

    http://pastebin.com/raw.php?i=2YW0wPPp


  5. Simple and useful SQL based script intended to boost players capabilities to manage their own account in-game. Feel free to use and do not remove credits. Report bug and glitches immediately if any occur. Suggestions and criticism are welcome since it is part of learning.

     

    How to use : 

    Just use @account in-game.

     

    Script Features : 

    • My Account = Information of the current invoking account.

    • Change Mail = Change the e-mail of the current invoking account.

    • Change Gender = Change the gender of the current invoking account. By default you can use this once a day. To configure : 

    set #timer,gettimetick(2) + 86400; // 86400 seconds = 1 day
    • Users Online = Show the list of user's online with their corresponding job.

    • Set Password = Set a password for the current account to enhance security. Once set, it will be asked every time you do logging in.

    • Delete Password = Delete the password for the current account.

    • View Character = View all characters in an account

    • Reset Position = Reset the position of the character in an account.

    • Reset Style = Reset the current style to default style of the character.

    • Reset Equipment = Reset the equipment of the character in an account.

     

    Changelog : 

     

    1.0 - Initial Release 

     

     

    accountsystem.txt

×
×
  • Create New...

Important Information

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