Jump to content

Recommended Posts

Posted

the sql part is correct? :S

try this

CREATE TABLE `rankedteams` (
  `name` text,
  `leader` text,
  `member1` text,
  `member2` text,
  `member3` text,
  `member4` text,
  `wins` int,
  `loses` int
) ENGINE=InnoDB AUTO_INCREMENT=43  DEFAULT CHARSET=latin1;

Posted

when im at character select screen

 

Failed loading character.
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'rank'
in 'field list'
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)
        at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2119)
        at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2281)
        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewPr
oxyPreparedStatement.java:76)
        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.restore(L2
PcInstance.java:7574)
        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.load(L2PcI
nstance.java:1375)
        at com.l2jserver.gameserver.network.L2GameClient.loadCharFromDisk(L2Game
Client.java:564)
        at com.l2jserver.gameserver.network.clientpackets.CharacterSelect.runImp
l(CharacterSelect.java:103)
        at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run
(L2GameClientPacket.java:62)
        at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1
001)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

could not restore in slot: 0

Posted

tb.append("<br><br><center><button value=\"Post\" action=\"bypass -h _pc_" + this.getObjectId() + "_create $name\" width=160 height=32 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\"></center>");

 

 

change pc to npc , dont know why da fack this happend

 

http://pastebin.com/jKdPQDLK

  • 4 weeks later...
Posted

Just Added your code in my hi5 l2j last rev...

many little warning-errors that i fixed..

 

but this error..after i logged in then talked to the L2League Npc and clicked on button : Create Team

 

[Character: PoRnosJH[268483933] - Account: pornosjh - IP: 192.168.1.1] sent not

handled RequestBypassToServer: [createt]

And after some minutes :

 

Could not store char base data: L2PcInstance:PoRnosJH[268483933] - Parameter ind

ex out of range (55 > number of parameters, which is 54).

java.sql.SQLException: Parameter index out of range (55 > number of parameters,

which is 54).

        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1074)

        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988)

        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974)

        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)

        at com.mysql.jdbc.PreparedStatement.checkBounds(PreparedStatement.java:3

813)

        at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:3

795)

        at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:3

840)

        at com.mysql.jdbc.PreparedStatement.setInt(PreparedStatement.java:3784)

        at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.setInt(NewProxyPre

paredStatement.java:607)

        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.storeCharB

ase(L2PcInstance.java:8783)

        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.store(L2Pc

Instance.java:8685)

        at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.store(L2Pc

Instance.java:8704)

        at com.l2jserver.gameserver.network.L2GameClient.saveCharToDisk(L2GameCl

ient.java:376)

        at com.l2jserver.gameserver.network.L2GameClient$AutoSaveTask.run(L2Game

Client.java:901)

        at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread

PoolManager.java:93)

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)

 

        at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.

access$301(Unknown Source)

        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.

run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

 

Posted

nc work marwan, but what happens if there are 2 matches takin place on the same time?? full bugs... the variables are the same for blue teams and for the red teams making this code sooooooooooooo buggy and faulty... it needs diffrent structure.

For example if 20 players are participated then 10 will be on team1 and 10 on team2... but team1 uses specific variables like points, kills from diffrent team1 will be always the same with points from other team1, so .............................

  • 2 weeks later...
  • 1 month later...
Posted

One of the nicest things I've seen shared in a while : )

 

Seems amazing!

 

Thanks for your contribute!

You have test it and work ? :S couse i am sure i test it and dont work.......

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • From Salvation onwards I think you need a patched nwindow.dll that allows such modifications, try to see if you get what you need here: https://drive.google.com/drive/u/1/folders/1LLbQFGf8KlR-O0Iv5umfF-pwZgrDh9bd
    • hello everyone! I am wanting to save the files (Ini. - Data - ) of the EP5 Client: Salvation... But they generate the error "corrupt files"... I tried several versions of L2FileEditor without good results. I need help! Thank you!
    • Opening December 6th at 19:00 (GMT +3)! Open Beta Test from November 30th!   https://l2soe.com/   🌟 Introducing L2 Saga of Eternia: A Revolution in Lineage 2 High Five! 🌟   Dear Lineage 2 enthusiasts, Prepare to witness the future of private servers! L2 Saga of Eternia is not just another High Five project—it’s a game-changing experience designed to compete with the giants of the Lineage 2 private server scene. Built for the community, by the community, we’re here to raise the bar in quality, innovation, and longevity. What Sets Us Apart? 💎 No Wipes, Ever Say goodbye to the fear of losing your progress. Our server is built to last and will never close. Stability and consistency are our promises to you. ⚔️ Weekly New Content Our dedicated development team ensures fresh challenges, events, and updates every week. From custom quests to exclusive features, there will always be something exciting to explore. 💰 No Pay-to-Win Skill and strategy matter most here. Enjoy a balanced gameplay environment where your achievements come from effort, not your wallet. 🌍 A Massive Community With 2000+ players expected, join a vibrant and active community of like-minded adventurers ready to conquer the world of Aden. 🏆 Fair and Competitive Gameplay Our systems are designed to promote healthy competition while avoiding abusive mechanics and exploits. 🔧 Professional Development From advanced bug fixes to carefully curated content, we pride ourselves on smooth performance, no lag, and unparalleled server quality. Key Features Chronicle: High Five with unique interface Rate: Dynamic x10 rates Class Balance: Carefully fine-tuned for a fair experience PvP Focused: PvP Ranking & aura display effect for 3 Top PvPers every week Custom Events: Seasonal and permanent events to keep you engaged Additional Features:   Custom Endgame Content: Introduce unique dungeons, raids, or zones unavailable in other servers. Player-Driven Economy: Implement a strong market system and avoid overinflated drops or rewards. Epic Siege Battles: Announce special large-scale sieges and PvP events. Incentives for Streamers and Clans: Attract influencers and big clans to boost server publicity. Roadmap Transparency: Share a public roadmap of planned updates to build trust and excitemen   Here you can read all the features: https://l2soe.com/features   Video preview: Join the Revolution! This is your chance to be part of something legendary. L2 Saga of Eternia is not just a server; it’s a movement to redefine what Lineage 2 can be. Whether you’re a seasoned veteran or a newcomer to the world of Aden, we invite you to experience Lineage 2 at its finest.   Official Launch Date: December 6th 2024 Website: https://l2soe.com/ Facebook: https://www.facebook.com/l2soe Discord: https://discord.com/invite/l2eternia   Let’s build the ultimate Lineage 2 experience together. See you in-game! 🎮
    • That's like a tutorial on how to run l2 on MacOS Xd but good job for the investigation. 
  • Topics

×
×
  • Create New...