Jump to content

crazyarashi

Developer
  • Posts

    776
  • Joined

  • Last visited

  • Days Won

    22

Posts posted by crazyarashi

  1. prontera,255,55,5    script    450KHP    123,{
        bonus_script "{ bonus bMaxHP,450000; }",60,512;
    	dispbottom "Max HP increased by 450,000";
    	end;
    
    OnPCLoadMapEvent:
    	bonus_script_clear 1;
    	end;
    
    OnInit:
    	setarray .maps$,"prontera","izlude","samplemap"; //= Maps for removing bonus HP
    	for(.@i = 0; .@i < getarraysize(.maps$); .@i++){
    		setmapflag .maps$[.@i],MF_LOADEVENT;
        	}
    	end;                                         
    }

     

  2. 1. Git Clone FluxCP into your web server.

    2. Set up the IP/SQL Data in config/servers.php - Note : Make sure you're using a SQL account that have access into your RO Database.  Guide : Grant Privileges
     

    'Hostname'   => '127.0.0.1', Local IP? No need to change else change it to the IP you're using
    'Username'   => 'username',
    'Password'   => 'extremelyhardpassword',
    'Database'   => 'maindatabase',

    3. Set up the config/application.php

    'ServerAddress'				=> 'localhost', Same as above
    'BaseURI'					=> 'fluxcp', The base url
    'InstallerPassword'			=> 'unhackablepassword', Password you're gonna use in installation


    4. Open up your website in a browser, input your SQL account with privileges on the database, and install.

  3. You shouldn't comment out the instances, it will cause a crash in your server if a player run an instance. If you want to remove the time limit you need to remove it in the instance_db time limit part,  as for the cooldown/requirements you need to manually remove it in their respective areas. quest_db and the quests scripts.

  4. In your storage.cpp. Comment out the lines that checks the permission of the sd if they can trade. Though it's not suggestible this may solve your problem.

    int storage_storageopen(struct map_session_data *sd)
    {
    	nullpo_ret(sd);
    
    	if(sd->state.storage_flag)
    		return 1; //Already open?
    	/*
    	if( !pc_can_give_items(sd) ) { // check is this GM level is allowed to put items to storage
    		clif_displaymessage(sd->fd, msg_txt(sd,246));
    		return 1;
    	}
    	*/
    
    	sd->state.storage_flag = 1;
    	storage_sortitem(sd->storage.u.items_storage, sd->storage.max_amount);
    	clif_storagelist(sd, sd->storage.u.items_storage, sd->storage.max_amount, storage_getName(0));
    	clif_updatestorageamount(sd, sd->storage.amount, sd->storage.max_amount);
    
    	return 0;
    }

     

    • Love 1
  5. if(getequipid(EQI_HAND_R) == 12345){
    	unequip(EQI_HAND_R);
    	dispbottom "You can only equip one type of this weapon.";
    } else if(EQI_HAND_L == 12345){
    	unequip(EQI_HAND_L);
    	dispbottom "You can only equip one type of this weapon.";
    }

    Something simple like this should solve your problem, add it on the equip part of the item script. and replace the 12345 ID that you want to check :))

  6. You will need a japanese translation for NPC'S and japanese msg_conf server side. As for client you can mainly use the client files of jRO and convert the id's of the client item data from text -> to lua ( if you're going to use kRO Clients )
    I do have my own private japanese translation project i have finish most basic NPC's, msg_conf and jRO's adventure academy. Basically you need to start from scratch if you want a japanese language server

×
×
  • Create New...