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

    • Make it 20 no one’s going to buy your garbage files.
    • Maybe you have problem with card graphig on pc?
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! Our Online Shop: socnet.store Our SMM-Boosting Panel: socnet.pro Telegram Shop Bot: socnet.shop Telegram Support: https://t.me/solomon_bog Telegram Channel: https://t.me/accsforyou_shop Discord Support: @AllSocialNetworksShop Discord Server:https://discord.gg/y9AStFFsrh WhatsApp Support: 79051904467 WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Email Support: solomonbog@socnet.store
    • Olá comunidade,   Apresento a vocês meu Painel UCP (User Control Panel) totalmente funcional e integrado ao servidor L2J, oferecendo uma experiência moderna, segura e extremamente prática para jogadores e administradores. Funcionalidades para Jogadores: Sistema de Doações Integrado com: [Stripe] [MercadoPago (Pix)] Ranking automático com os melhores PvP e PK do servidor. Troca de senha com validação segura. Serviços para jogadores, usando saldo: Alterar nome do personagem Outras funções customizáveis Loja de Itens: Compra de itens direto pelo painel Entrega automática no inventário in-game Atualização de saldo em segundos Interface multilíngue: Português e Inglês Funcionalidades para Administradores: Gerenciamento completo da Loja: Adicionar/editar/remover itens Visualização com ícones dinâmicos Gerenciamento de Saldos: Editar saldo das contas Verificar histórico de doações aprovadas e pendentes Gerenciamento de Contas Admin: Acesso diferenciado por nível (Admin ou GM) Controle seguro de permissões Painel de controle com informações em tempo real Imagens de Apresentação: Painel UCP - Página de Login Painel UCP - Página de Personagens Painel UCP - Página de Doação Painel UCP - Página de Shop Painel UCP - Página de Compra Painel UCP - Página de Serviços Painel UCP - Página de Ranking Painel UCP - Página de Trocar Senha Painel Admin UCP - Shop Painel Admin UCP - Gerenciar Shop Painel Admin UCP - Gerenciar Saldo Painel Admin UCP - Gerenciar Admin https://github.com/JulioPradoL2j/panel
    • UnrealEd от Гилдор при  открытии файла автоматический выдает ошибку и закрывает программу(    
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock