MrBlack Posted June 25, 2009 Posted June 25, 2009 Paides....Eimai GM k 8elw na brw 1 entolh gia na mporesw na doso Points sthn olympiada....Den 3erw pws...alla m exoun pei oti ginetai...3erei kaneis?? P.x. exw 1 char noblesse...k 8elw na t doso 400 points gia na bgei hero....Iparxei tpt....Ty :)
0 MrBlack Posted June 25, 2009 Author Posted June 25, 2009 Oxi...eimai 90% sigouros oti ginetai....To exoun kanei.....Logika 8a einai kati me //setpointsolympiad (name)
0 blazehunter Posted June 25, 2009 Posted June 25, 2009 ee 90% fenete to 10% nikise den yparxi tetia entoli mono nomizo mesa apo ston server h to Navicat
0 Justice Posted June 25, 2009 Posted June 25, 2009 Loipon Auto ginete mesa apo to navicat Kapou mesa exei ena table Olympiad Nobles anixe to kai vres to name tou char sou lei apo dipla einai na valis t points kai dipla tis simetoxes kaneis kai ena safe kai eisai ok Ysterogrago nmzo oti eprepe na to valis request dev help ....
0 xBoRk Posted June 28, 2009 Posted June 28, 2009 ne mono apo DB boris na t kanis auto... an 8es s dixno k pic se pio table ine.... Ysterogrago nmzo oti eprepe na to valis request dev help .... sto request dev help tp exi ^^
0 Todoulis Posted June 28, 2009 Posted June 28, 2009 Apo navicat...k..prwta kleise ton server..alla3e to...k meta anoi3e ton... an ton exeis anoixto..to alla3eis k kaneis rr..dn tha alla3ei..dld etc ginetai se mena..
0 Kяaσh Posted June 28, 2009 Posted June 28, 2009 etsi ginete pantou o server prp na einai offline otan doseis pontous twra apo game dn uparxei ews twra kapio command
0 ZeRo* Posted June 28, 2009 Posted June 28, 2009 Από ingame δεν γίνεται...Μόνο ο admin μπορεί να δώσει ή αν έχεις πρόσβαση στην database του server.
0 Aeolous Posted June 29, 2009 Posted June 29, 2009 UNTESTED /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * [url]http://www.gnu.org/copyleft/gpl.html[/url] */ package net.sf.l2j.gameserver.handler.admincommandhandlers; import java.sql.PreparedStatement; import java.sql.SQLException; import com.mysql.jdbc.Connection; import net.sf.l2j.L2DatabaseFactory; import net.sf.l2j.gameserver.handler.IAdminCommandHandler; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; public class AdminOlympiad implements IAdminCommandHandler { private static final String[] ADMIN_COMMANDS = {"admin_addolypoint"}; public boolean useAdminCommand(String command, L2PcInstance activeChar) { if (command.startsWith("admin_addolypoint")) { Connection Con = null; try { Con = (Connection) L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement; statement = Con.prepareStatement("INSERT INTO olympiad_nobles (olympiad_points) VALUES (?)"); String Val = command.substring(18); int PoVal = Integer.parseInt(Val); statement.setInt(1, PoVal); statement.execute(); statement.close(); } catch (Exception e) { //System.out.print("//"); } finally { try { if (Con != null) Con.close(); } catch (SQLException e) { e.printStackTrace(); } } } return true; } public String[] getAdminCommandList() { return ADMIN_COMMANDS; } } Created for c6 Idk if it work, try to make relogin if dont get points! maby must relog to update char stats
Question
MrBlack
Paides....Eimai GM k 8elw na brw 1 entolh gia na mporesw na doso Points sthn olympiada....Den 3erw pws...alla m exoun pei oti ginetai...3erei kaneis?? P.x. exw 1 char noblesse...k 8elw na t doso 400 points gia na bgei hero....Iparxei tpt....Ty :)
9 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now