Jump to content

Recommended Posts

Posted

mm I have problem with this in ct2 rev 1.2.10 have new tagle in characters vitality point if I put more value for

 

- statement.setInt(52, getObjectId());

+ statement.setInt(52, getVoteCount());

+ statement.setInt(53, getObjectId());

 

I an do this because if i put

 

+                      statement.setDouble(52, getVitalityPoints());

+ statement.setInt(53, getVoteCount());

+ statement.setInt(54, getObjectId());

 

value 54 is out of range max range is 53 if i delete this and delete table in data base these generate an error in gameserver

 

what I can do to adapt this for the last rev

Posted

I think you need to edit this part of the diff file:

+	private static final String	UPDATE_CHARACTER				= "UPDATE characters SET level=?,maxHp=?,curHp=?,maxCp=?,curCp=?,maxMp=?,curMp=?,face=?,hairStyle=?,hairColor=?,heading=?,x=?,y=?,z=?,exp=?,expBeforeDeath=?,sp=?,karma=?,pvpkills=?,pkkills=?,rec_have=?,rec_left=?,clanid=?,race=?,classid=?,deletetime=?,title=?,accesslevel=?,online=?,isin7sdungeon=?,clan_privs=?,wantspeace=?,base_class=?,onlinetime=?,in_jail=?,jail_timer=?,newbie=?,nobless=?,pledge_rank=?,subpledge=?,last_recom_date=?,lvl_joined_academy=?,apprentice=?,sponsor=?,varka_ketra_ally=?,clan_join_expiry_time=?,clan_create_expiry_time=?,banchat_timer=?,char_name=?,death_penalty_level=?,trust_level=?,vote=? 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, pvpkills, pkkills, clanid, race, classid, deletetime, cancraft, title, rec_have, rec_left, accesslevel, online, char_slot, lastAccess, clan_privs, wantspeace, base_class, onlinetime, isin7sdungeon, in_jail, jail_timer, banchat_timer, newbie, nobless, pledge_rank, subpledge, last_recom_date, lvl_joined_academy, apprentice, sponsor, varka_ketra_ally, clan_join_expiry_time,clan_create_expiry_time,charViP,death_penalty_level,trust_level,vote FROM characters WHERE charId=?";

 

 

in the last rev these 2 lines are different becouse the vitality system so the new lines:

 

private static final String	UPDATE_CHARACTER				= "UPDATE characters SET level=?,maxHp=?,curHp=?,maxCp=?,curCp=?,maxMp=?,curMp=?,face=?,hairStyle=?,hairColor=?,heading=?,x=?,y=?,z=?,exp=?,expBeforeDeath=?,sp=?,karma=?,pvpkills=?,pkkills=?,rec_have=?,rec_left=?,clanid=?,race=?,classid=?,deletetime=?,title=?,accesslevel=?,online=?,isin7sdungeon=?,clan_privs=?,wantspeace=?,base_class=?,onlinetime=?,in_jail=?,jail_timer=?,newbie=?,nobless=?,pledge_rank=?,subpledge=?,last_recom_date=?,lvl_joined_academy=?,apprentice=?,sponsor=?,varka_ketra_ally=?,clan_join_expiry_time=?,clan_create_expiry_time=?,banchat_timer=?,char_name=?,death_penalty_level=?,trust_level=?,vitality_points=?,vote=? 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, pvpkills, pkkills, clanid, race, classid, deletetime, cancraft, title, rec_have, rec_left, accesslevel, online, char_slot, lastAccess, clan_privs, wantspeace, base_class, onlinetime, isin7sdungeon, in_jail, jail_timer, banchat_timer, newbie, nobless, pledge_rank, subpledge, last_recom_date, lvl_joined_academy, apprentice, sponsor, varka_ketra_ally, clan_join_expiry_time,clan_create_expiry_time,charViP,death_penalty_level,trust_level,vitality_points,vote FROM characters WHERE charId=?";

Posted

ok so could please share the PHP script , the one we need to add it into our webpages so it can register the votes ? please , whould be really great :| i know a lil bit of php but i don't know how to do it :(

 

please ...we really need it :| rizel , whould you please post your php script ?

...i whould thank you for life :( this utile it's really great for the new servers and not only...

please rizel :| we really need it:)

Posted

Ok here some help for the php script:

in your database create new colums(for example you have 2 vote link):

name:ip type:varchar lenght:255 decimals:0 allow null:x default:0

You need that to avoid dinamic IP cheating,you need that only once because you need to add a ip check for all vote.

after that make time colums:

name:time1 type:varchar lenght:255 decimals:0 allow null:x default:1226121496

name:time2 type:varchar lenght:255 decimals:0 allow null:x default:1226121496

you need that to make it like 1char=1vote

if you dont understand:

the time1 check the vote time and to avoid cheating need to w8 24hours to get vote  point(with php check)

thats the database side

in the website make a connect.php with sql database connect info and edit your index.php where you insert the link

above the vote link you need to type your character name(with input type=text)and add a check if the character dont exist in db dont allow voting,if the character name are incorrect(case sensitive)dont allow voting,if no text typed in dont allow voting,if the character name are ok go to the vote site and player can make vote.

Posted

intrepid :\ most of us we are a lil be lowbies :( ...what u've just wrote here it's for advanced devs ...

 

can't u make it simple ? for example if you want please share with us the .sql file +php ...and thank you also for that share mby will somone will try to complete it

Posted

intrepid :\ most of us we are a lil be lowbies :( ...what u've just wrote here it's for advanced devs ...

 

can't u make it simple ? for example if you want please share with us the .sql file +php ...and thank you also for that share mby will somone will try to complete it

 

i'm not good at php so i cant make it more simple than this

also i cant share the script because its not my work and not rizels work so dont want from us to share it because the man who did it dont want his script shared.

Posted

intreprid ...u understood me wrong :) u don't need to modify Rizel's share...only to make the .php file that we need into our sites + the sql file:)

 

man plz read...the man who did it dont want his script shared.And i cant make it!

Posted

best share i have ever seen keep it up man! just excellent! also people can vote every 12 hours so you can change the type in votesystem.php

 

if ($difference >= 24) 

 

to

 

if ($difference > 12)

 

  • 2 weeks later...
Posted

the php page dosen't upgrade in mysql table vote and table votetime please someone repair the script tks or make a sql for table characters

Guest
This topic is now closed to further replies.



  • Posts

    • hello, do you have maybe source nwindow.u for protocol 24?
    • Now begins your final fall, you don't know who you messed with and who I am, nor can you imagine what awaits you. Dragon Network will have to answer for its actions before the FBI, and thus begins its downfall.
    • This post originally appeared on zupyak. The EA FC 26 Closed Beta is almost here, giving select players an exclusive first look at the game before its official release. Running from August 6 to August 26, 2025, this beta will let testers try out key gameplay changes and provide feedback to EA. If you're eager to secure a beta code, this guide will walk you through everything you need to know—from eligibility requirements to how to maximize your chances of getting an invite.   How to Get an EA FC 26 Beta Code 1. Beta Codes Are Account-Locked (No Sharing!) • If you receive a beta code, it will be tied to your EA account and cannot be shared or sold. • Attempting to share or buy a code is against EA's NDA (Non-Disclosure Agreement) and will result in a ban. 2. Check Your EA Account Settings • Log in to the EA website and go to Account Settings. • Navigate to Communication Preferences and ensure you're opted in for: • All EA Sports games, including FC 25 and FC 24 • The platform you actually play on • Promotional emails 3. Sign Up for EA Playtesting • Visit the EA Playtesting portal and register. This increases your chances of being selected for beta access. 4. Play FC 25 Regularly EA prioritizes active players, especially those who compete in Division Rivals and FUT Champions. The more you play, the higher your chances of receiving an invite. 5. Check Your Email (Including Spam!) If you don't receive one immediately, check again on August 13, as EA sometimes sends codes in waves.   What Game Modes Are Available in the Beta? • Kickoff (available to all testers) • Ultimate Team (FUT) • Clubs • Career Mode Your access to modes beyond Kickoff depends on your past gameplay history in FC 25.   Important Beta Rules & Restrictions Do: • Test the game and provide feedback in the official EA beta forums. • Keep all beta details confidential—no streaming, screenshots, or social media posts. Don't: • Share or sell your beta code (it won't work for anyone else). • Discuss the beta publicly—breaking the NDA can lead to account bans. • Expect progress to carry over—the beta is for testing only.   Final Tips to Improve Your Chances • Play FC 25 frequently—active players get priority. • Only select platforms you own—only available for consoles. • Check your spam folder—beta emails sometimes land there. • Avoid VPNs—EA may restrict access based on region (US & UK have higher priority).   What If You Don't Get a Beta Code? The beta code has been released on Augest 4. If you didn't receive one, don't worry, as EA sometimes sends codes in waves. Final Thoughts The EA FC 26 Closed Beta is a fantastic opportunity for dedicated fans to shape the future of the game while enjoying early access. By following these steps and staying active in FC 25, you can maximize your chances of securing a coveted beta code. Remember, confidentiality is key—so keep all details private and abide by EA's rules. And when the full game officially launches, consider buying FC 26 coins to give yourself an edge in building your Ultimate Team and dominating the competition! Are you ready for EA FC 26? Let us know your thoughts in the comments below!
    • https://maxcheaters.com/topic/253284-⭐l2off-h5-gx-ext⭐/
  • 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