-
Posts
1702 -
Joined
-
Last visited
-
Days Won
18
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Patskie
-
-
@KeyWorld
Ohh i see. why is it i must use escape_sql on these line query_sql "SELECT `online` FROM `char` WHERE `name` = '"+@name$[@m]+"'",@online; I know it can't be injected but how this line will throw an error? Thanks for suggesting
-
nice bro.
-khayam
Good Job
Thanks!
-
Tagumoay idol
Lol
-
Simple and useful script intended to boost players capability to manage their own account in-game. Feel free to use. Report bug and glitches immediately by messaging me here. Also suggestions are welcome and appreciated.
How to use :
- Just use @account in-game.
Script capabilities :
• My Account = Information of the current account.
• Change Mail = Change the e-mail of the current account.
• Change Gender = Change the gender of the current account ( 1 use per day limit ).
• Users Online = Show the list of user's online with their corresponding jobs.
• Set Password = Set a password for the account
• Delete Password = Delete a password for the account
• View Character = View all characters in an account
• Reset Position = Reset the position of the character in an account
• Reset Style = Reset the style of the character in an account.
• Reset Equipment = Reset the equipment of the character in an account.
Changelog :
1.0 - Initial release
1.1 - Remove unnecessary variables
Additional Information :
• When password is set, Every time you log in it will asked for your password.
• To set the change sex time limit. Go to the script and find :set #timer,gettimetick(2) + 86400;
86400 seconds is equivalent to 1 day.
TODO : Working on SQL OFFSET that will hold > 128 online players.
accountsystem.txt
accountsystem v1.1.txt
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.- 1
-
1. Download http://www.mediafire.com/download.php?ldgt7ml3oru75j6
2. Do not include ChatWindInfo, OptionInfo and UserKeys [LUA FILES] on your GRF. Put them in a data folder.
- 1
-
-
Did you import the sql files?
-
im using 04-10-12a client. BUT WAIT! I CAN SEE THE SHINOBI ONLY IF I SPAWN THAT MOB...
i didnt use characters that are not allowed
my char_athena.conf
// Server name, use alternative character such as ASCII 160 for spaces.// NOTE: Do not use spaces or any of these characters which are not allowed in// Windows filenames \/:*?"<>|// ... or else guild emblems won't work client-side!server_name: VariantROstill isn't working..Did you restart your server?
It's not the server_name. It's the commented lines. --, and this is already fixed -> http://rathena.org/board/tracker/issue-2656-guild-emblems-not-showing-up/
-
setarray .cost, 7227,300;
to :
setarray .cost, 7179,1;
-
Maalis ang alin?
-
Search mo lang lua files for 2012 04 10 client
-
Use GRF builder. How to download? Use google
-
-
LUA not compatible with your client date.
-
1. Just import the SQL files located on schemas folder on your database.
2. Go to voteforpoints/modules/voteforpoins/index.php
Replace the code with this :
<?php //A login is required include ('function.php');$this->loginRequired(); //This will list the sites $vp = Flux::config('FluxTables.Sites'); $vp_voter = Flux::config('FluxTables.Voters'); $serverLogDB = $server->loginDatabase; $vp_voter = Flux::config('FluxTables.Voters'); $vp_logs = Flux::config('FluxTables.Logs'); $serverObj = $server->connection;$sql = "SELECT site_id,site_name,address,points,blocking_time,banner,banner_url FROM {$server->loginDatabase}.{$vp}"; $sth = $server->connection->getStatement($sql); $sth->execute(); $vp = $sth->fetchAll(); $account_idz = $session->account->account_id; $current_time= date("Y-m-d G:i:s",time()); $ip_address = 0;if(Flux::config('IP_BLOCKING')) $ip_address = $_SERVER['REMOTE_ADDR']; $sql = "SELECT points FROM {$server->loginDatabase}.{$vp_voter} WHERE account_id=?"; $sth = $server->connection->getStatement($sql);$sth->execute(array($session->account->account_id)); $vp_voter = $sth->fetch(); $curr_points = $vp_voter->points; function isBlock($account_idz,$site_id,$current_time,$ip_address,$serverLogDB,$vp_logs,$serverObj){ if($ip_address!=0) { $sql = "SELECT `rtid`,`unblock_time`,`ip_address` FROM {$serverLogDB}.{$vp_logs} WHERE f_site_id=? AND unblock_time>? AND ip_address=? ORDER BY unblock_time ASC LIMIT 1"; $sth = $serverObj->getStatement($sql); $sth->execute(array($site_id,$current_time,$ip_address)); $ip_check = $sth->fetchAll(); $diff_time = strtotime($ip_check[0]->unblock_time)-strtotime(date("Y-m-d G:i:s",time())); if(!empty($ip_check)) return strtotime($ip_check[0]->unblock_time); } $sql = "SELECT `unblock_time` FROM {$serverLogDB}.{$vp_logs} WHERE account_id=? AND f_site_id=?"; $sth = $serverObj->getStatement($sql); $sth->execute(array($session->account->account_id,$site_id)); $account_check = $sth->fetch(); if(!empty($account_check)) $diff_time = strtotime($account_check->unblock_time)-strtotime(date("Y-m-d G:i:s",time())); else $diff_time = 0; if($diff_time>0) return strtotime($account_check->unblock_time); else return 0; return strtotime($account_check->unblock_time);} ?>
-
Check src/common/mmo.h kung same sya sa client date mo.
#define PACKETVER 20120410
-
Does registering account manually in SQL by inserting in the table causes some bugs?
additional info: when i started my server, i registered through sql, i inserted in the table. But after our control panel released, when u register in the control panel, the account ID started at 3000000.. Some players are having a problem in vote for points, while the others and i, are working fine.. I was thinking if that is the cause too..
1. No
Question : How did you register through your SQL? You specify the account id by yourself? account_id in the login table are in auto increment. so meaning even you leave blank the account_id column when inserting through SQL. It will give an account id. Did you get my point? Sorry for my bad english.
What is the vote for points you are using also?
YES I SPECIFIED THE ACCOUNT ID by myself. I used the default starting account ID: 2000000
yes i get ur point.
I'm using Feefty vote for points..
No need to specify the account_id when inserting manually in log in table because it is auto-increment. I haven't used feefty vote for points addons. Have you tried jaypee's vote for points?
-
Does registering account manually in SQL by inserting in the table causes some bugs?
additional info: when i started my server, i registered through sql, i inserted in the table. But after our control panel released, when u register in the control panel, the account ID started at 3000000.. Some players are having a problem in vote for points, while the others and i, are working fine.. I was thinking if that is the cause too..
1. No
Question : How did you register through your SQL? You specify the account id by yourself? account_id in the login table are in auto increment. so meaning even you leave blank the account_id column when inserting through SQL. It will give an account id. Did you get my point? Sorry for my bad english.
What is the vote for points you are using also?
-
1. Your client date must be the same as the client date indicate on src/common/mmo.h.
2. db/packet_db.txt :
// Main packet version of the DB to use (default = max available version) // Client detection is faster when all clients use this version. // Version 23 is the latest Sakexe (above versions are for Renewal clients) //packet_db_ver: 25 packet_db_ver: default
-
Alternative vote for points : http://rathena.org/board/topic/60640-fluxcp-addon-vote-for-points/
-
What item will you insert on the storage?
-
432000 seconds = 5 days.
set .@timer, 432000;
Change to :
set .@timer, 2592000;
-
d nga nagana yang mga yan e.
Try this
//-- AS_SONICBLOW 136,0,1500,1500,0,5000,1000
-
Guys i need a simple pvp ladder NPC
NPC to click
I have googled alot of times still i havent found 1
Every pvp ladder have on logginevent i dont want a ladder like that
i want a simple NPC
also a gold room
Every gold room i get are bugged
please help guys
Thanks Alot
Sorry For my bad english T_T
Elaborate your ideas on PVP ladder npc.
- 1
Utility: Account Management System
in Utility Script Releases
Posted · Edited by Patskie
Ohhh i see thannks for that...I just check the script_commands.txt on the doc folder. Is this what you are saying? )