ganjaradio
Members-
Posts
538 -
Joined
-
Last visited
-
Days Won
2 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by ganjaradio
-
thx lock it
-
didnt mean this dude, although thx, i mean a text box when someone can type anything where he will type sth and when he clicks the button, then the variable will get the value of the text
-
Hello, im trying to make a text box to add a char name inside and then a button that will set this name at a variable in HTML. How can i do that? (via java) Thx in advance
-
Is it possible to edit the client like in Unreal Engine and the packets, add more UI tables and such? for example for Mentor System to add a new UI to show name etc? or for example ot add more keys to be used ingame?
-
Help How to get my target's target
ganjaradio replied to Alianza's topic in [Request] Client Dev Help
i think that this would work: L2PcInstance target = activeChar.getTarget(); L2PcInstance targeted = target.getTarget(); -
Help Hi5 level 95
ganjaradio replied to ThelwHelpRePaidia's question in Request Server Development Help [L2J]
its according to your project, you may find it in source - Experience.java or in Datapack experience.xml there there will be max level and the EXP needed for it -
Hello, im building a team for a new l2j server, if anyone is interested reply here or send me a pm for more info. Some basing info, the client will be Gracia Final - L2jserver
-
Hello if you need any code/help about your server you can request here.
-
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
fixed it thx -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
havent edited that -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
ive added in storeCharBase, createDb and restore, i cant find Update inside l2pcinstance -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
again the same error -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
at update right? -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
well its first time editing mysql via java :3 how can i fix it if possible :3 -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
Now the character is being created but getting this error and then wont enter game: https://imgur.com/a/uo1gF -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
tried it again the same error in the same line -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
the error is saying that there is a missing value for mysql -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
First of all its l2jserver and not acis and its gracia final also the error (sry ive forgotten it) https://imgur.com/a/dIh1W -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
its from pride pack, it was working, before adding the faction system -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
btw the sql file: CREATE TABLE IF NOT EXISTS `characters` ( `account_name` VARCHAR(45) DEFAULT NULL, `charId` INT UNSIGNED NOT NULL DEFAULT 0, `char_name` VARCHAR(35) NOT NULL, `level` TINYINT UNSIGNED DEFAULT NULL, `maxHp` MEDIUMINT UNSIGNED DEFAULT NULL, `curHp` MEDIUMINT UNSIGNED DEFAULT NULL, `maxCp` MEDIUMINT UNSIGNED DEFAULT NULL, `curCp` MEDIUMINT UNSIGNED DEFAULT NULL, `maxMp` MEDIUMINT UNSIGNED DEFAULT NULL, `curMp` MEDIUMINT UNSIGNED DEFAULT NULL, `face` TINYINT UNSIGNED DEFAULT NULL, `hairStyle` TINYINT UNSIGNED DEFAULT NULL, `hairColor` TINYINT UNSIGNED DEFAULT NULL, `sex` TINYINT UNSIGNED DEFAULT NULL, `heading` MEDIUMINT DEFAULT NULL, `x` MEDIUMINT DEFAULT NULL, `y` MEDIUMINT DEFAULT NULL, `z` MEDIUMINT DEFAULT NULL, `exp` BIGINT UNSIGNED DEFAULT 0, `expBeforeDeath` BIGINT UNSIGNED DEFAULT 0, `sp` INT UNSIGNED NOT NULL DEFAULT 0, `karma` INT UNSIGNED DEFAULT NULL, `fame` MEDIUMINT UNSIGNED NOT NULL default 0, `pvpkills` SMALLINT UNSIGNED DEFAULT NULL, `pkkills` SMALLINT UNSIGNED DEFAULT NULL, `clanid` INT UNSIGNED DEFAULT NULL, `race` TINYINT UNSIGNED DEFAULT NULL, `classid` TINYINT UNSIGNED DEFAULT NULL, `base_class` TINYINT UNSIGNED NOT NULL DEFAULT 0, `transform_id` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `deletetime` BIGINT DEFAULT NULL, `cancraft` TINYINT UNSIGNED DEFAULT NULL, `title` VARCHAR(16) DEFAULT NULL, `rec_have` TINYINT UNSIGNED NOT NULL DEFAULT 0, `rec_left` TINYINT UNSIGNED NOT NULL DEFAULT 0, `accesslevel` MEDIUMINT DEFAULT 0, `online` TINYINT UNSIGNED DEFAULT NULL, `onlinetime` INT DEFAULT NULL, `char_slot` TINYINT UNSIGNED DEFAULT NULL, `newbie` MEDIUMINT UNSIGNED DEFAULT 1, `lastAccess` BIGINT UNSIGNED DEFAULT NULL, `clan_privs` MEDIUMINT UNSIGNED DEFAULT 0, `wantspeace` TINYINT UNSIGNED DEFAULT 0, `isin7sdungeon` TINYINT UNSIGNED NOT NULL default 0, `punish_level` TINYINT UNSIGNED NOT NULL DEFAULT 0, `punish_timer` INT UNSIGNED NOT NULL DEFAULT 0, `power_grade` TINYINT UNSIGNED DEFAULT NULL, `nobless` TINYINT UNSIGNED NOT NULL DEFAULT 0, `subpledge` SMALLINT NOT NULL DEFAULT 0, `last_recom_date` BIGINT UNSIGNED NOT NULL DEFAULT 0, `lvl_joined_academy` TINYINT UNSIGNED NOT NULL DEFAULT 0, `apprentice` INT UNSIGNED NOT NULL DEFAULT 0, `sponsor` INT UNSIGNED NOT NULL DEFAULT 0, `varka_ketra_ally` TINYINT NOT NULL DEFAULT 0, `clan_join_expiry_time` BIGINT UNSIGNED NOT NULL DEFAULT 0, `clan_create_expiry_time` BIGINT UNSIGNED NOT NULL DEFAULT 0, `death_penalty_level` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `bookmarkslot` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `factionid` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `returnx` MEDIUMINT UNSIGNED NOT NULL DEFAULT 1, `returny` MEDIUMINT UNSIGNED NOT NULL DEFAULT 1, `returnz` MEDIUMINT UNSIGNED NOT NULL DEFAULT 1, PRIMARY KEY (`charId`), KEY `clanid` (`clanid`) ); l2pcinstance.java: http://www23.zippyshare.com/v/Gayilcc7/file.html -
MySql and Character Create
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
Yes as SMALINT with default value 0 -
Hello im getting error for line 140 on character create (newChar.setCurrentHp(template.baseHpMax + 400);) after adding a custom faction system CharacterCreate.java: https://pastebin.com/nBF57eMB Changes in L2PcInstance // Character Character SQL String Definitions: private static final String INSERT_CHARACTER = "INSERT INTO characters (account_name,charId,char_name,level,maxHp,curHp,maxCp,curCp,maxMp,curMp,face,hairStyle,hairColor,sex,exp,sp,karma,fame,pvpkills,pkkills,clanid,race,classid,deletetime,cancraft,title,accesslevel,online,isin7sdungeon,clan_privs,wantspeace,base_class,newbie,nobless,power_grade,last_recom_date,factionid, returnx, returny, returnz) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"; private static final String UPDATE_CHARACTER = "UPDATE characters SET level=?,maxHp=?,curHp=?,maxCp=?,curCp=?,maxMp=?,curMp=?,face=?,hairStyle=?,hairColor=?,sex=?,heading=?,x=?,y=?,z=?,exp=?,expBeforeDeath=?,sp=?,karma=?,fame=?,pvpkills=?,pkkills=?,rec_have=?,rec_left=?,clanid=?,race=?,classid=?,deletetime=?,accesslevel=?,online=?,isin7sdungeon=?,clan_privs=?,wantspeace=?,base_class=?,onlinetime=?,punish_level=?,punish_timer=?,newbie=?,nobless=?,power_grade=?,subpledge=?,last_recom_date=?,lvl_joined_academy=?,apprentice=?,sponsor=?,varka_ketra_ally=?,clan_join_expiry_time=?,clan_create_expiry_time=?,death_penalty_level=?,bookmarkslot=?,streak=?,lastKill1=?,lastKill2=?,vitality_points=?,heroWpnDel=?,cancraft=?, factionid=?,returnx=?, returny=?, returnz =? FROM characters WHERE charId=?"; private static final String RESTORE_CHARACTER = "SELECT account_name, charId, char_name, level, maxHp, curHp, maxCp, curCp, maxMp, curMp, face, hairStyle, hairColor, sex, heading, x, y, z, exp, expBeforeDeath, sp, karma, fame, pvpkills, pkkills, clanid, race, classid, deletetime, cancraft, title, rec_have, rec_left, accesslevel, online, char_slot, lastAccess, clan_privs, wantspeace, base_class, onlinetime, isin7sdungeon, punish_level, punish_timer, newbie, nobless, power_grade, subpledge, last_recom_date, lvl_joined_academy, apprentice, sponsor, varka_ketra_ally,clan_join_expiry_time,clan_create_expiry_time,death_penalty_level,bookmarkslot,streak,lastKill1,lastKill2,vitality_points,heroWpnDel,factionid, returnx, returny, returnz FROM characters WHERE charId=?"; // Faction System private int factionId; public int getFactionId() { return factionId; } public void setFactionId(int newFaction) { factionId = newFaction; } player.setVitalityPoints(rset.getInt("vitality_points"), true); player._heroWpnDelCount = rset.getByte("heroWpnDel"); +player.setFactionId(rset.getInt("factionid")); +player.setReturnX(rset.getInt("returnx")); +player.setReturnY(rset.getInt("returny")); +player.setReturnZ(rset.getInt("returnz")); statement.setInt(57, getObjectId()); +statement.setInt(58, getFactionId()); +statement.setInt(59, getReturnX()); +statement.setInt(60, getReturnY()); +statement.setInt(61, getReturnZ()); And i cant create the character, if possible ot help me, thx in advance!
-
Help Many players in an instance
ganjaradio replied to ganjaradio's question in Request Server Development Help [L2J]
lock it found i guess -
Help Many players in an instance
ganjaradio posted a question in Request Server Development Help [L2J]
Hello everyone. How can i make an instances that will last for ever and players will be able to be there all together? -
Hello, with a friend we are building a clan for the server -> http://l2solstice.com/ We already have 1 bishop an 1 tank. We are mostly in need of DDs and ofc some more support classes. For more info reply here, or send a pm (ill send you back our discord channel)
