Jump to content
Sign in to follow this  
planetnet

Fake player Help

Recommended Posts

hi i have added on my server fake players on a test server that im creating and i just want to put them all together in a clan which will read it from msql ( clan id ) . i have this code++ but i dont know if its correct  ... can someone help how can i make it work ( i mean to join an msql and recognise the id of the clan .. which clan will be created by me ... )

import net.sf.l2j.gameserver.data.sql.ClanTable;


player.setClan(ClanTable.getInstance().getClan(clanId));.......


player.setAccessLevel(Config.DEFAULT_ACCESS_LEVEL);
PlayerInfoTable.getInstance().addPlayer(objectId, accountName, playerName, player.getAccessLevel().getLevel());
player.setBaseClass(player.getClassId());
setLevel(player, 81);

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...