Quantcast
Channel: RaGEZONE - MMO Development Forums
Viewing all 26436 articles
Browse latest View live

[Release] Revised GT Weapons

$
0
0
Hi! Its nice to be back.
After a long long long time i'm here to share a wonderful files for you all. LOL
Before other people or anyone who will share it first.

As the thread entitled (GT WEAPONS REVISED)
Link : Download Here!

Colors :
Yellow
Violet
Green
Red

Credits :
Goes all mine (EssaeyPride) - Old Name
EffectToolR
HxD

Note :
Please do make a screenshot for this. Sorry i have no time to make. Hekhek

Advance Merry Xmas to all and have a Happy New Year. :):

Roalty free backgrounds

Uber leet NPC

$
0
0
Code:

var rick = ["Oooh",
"",
"We're no strangers to love",
"You know the rules and so do I",
"A full commitment's what I'm thinking of",
"You wouldn't get this from any other guy",
"",
"I just wanna tell you how I'm feeling",
"Gotta make you understand",
"",
"Never gonna give you up",
"Never gonna let you down",
"Never gonna run around and desert you",
"Never gonna make you cry",
"Never gonna say goodbye",
"Never gonna tell a lie and hurt you",
"",
"We've known each other for so long",
"Your heart's been aching, but",
"You're too shy to say it",
"Inside, we both know what's been going on",
"We know the game and we're gonna play it",
"",
"And if you ask me how I'm feeling",
"Don't tell me you're too blind to see",
"",
"Never gonna give you up",
"Never gonna let you down",
"Never gonna run around and desert you",
"Never gonna make you cry",
"Never gonna say goodbye",
"Never gonna tell a lie and hurt you",
"",
"Never gonna give you up",
"Never gonna let you down",
"Never gonna run around and desert you",
"Never gonna make you cry",
"Never gonna say goodbye",
"Never gonna tell a lie and hurt you",
"",
"(Ooh, give you up)",
"(Ooh, give you up)",
"Never gonna give, never gonna give",
"(Give you up)",
"Never gonna give, never gonna give",
"(Give you up)",
"",
"We've known each other for so long",
"Your heart's been aching, but",
"You're too shy to say it",
"Inside, we both know what's been going on",
"We know the game and we're gonna play it",
"",
"I just wanna tell you how I'm feeling",
"Gotta make you understand",
"",
"Never gonna give you up",
"Never gonna let you down",
"Never gonna run around and desert you",
"Never gonna make you cry",
"Never gonna say goodbye",
"Never gonna tell a lie and hurt you",
"",
"Never gonna give you up",
"Never gonna let you down",
"Never gonna run around and desert you",
"Never gonna make you cry",
"Never gonna say goodbye",
"Never gonna tell a lie and hurt you",
"",
"Never gonna give you up",
"Never gonna let you down",
"Never gonna run around and desert you",
"Never gonna make you cry",
"Never gonna say goodbye",
"Never gonna tell a lie and hurt you"];
var status;

function action(mode, type, selection) {
        if (mode == 1)
        status++;
    else {
        cm.dispose();
        return;
    }
    if (status < rick.length) {
                cm.sendNextNoESC(rick[status]);
    } else {
                cm.dispose();
        }
}

You need this.

a quick question about sql's

$
0
0
ok im trying to get pwadmin working with my server... well its working and its not importing roles... I did read on there that has to do with the new database structure well so I downloaded the structure for it from the same page off pwadmin... well using that database the ids go back to 16,32 and etc when using the other one they are right by using 1024 heres both sqls....


Code:

-- phpMyAdmin SQL Dump
-- version 3.4.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: May 22, 2013 at 04:44 AM
-- Server version: 5.5.16
-- PHP Version: 5.3.8

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `dbo2`
--

DELIMITER $$
--
-- Procedures
--
CREATE DEFINER=`root`@`localhost` PROCEDURE `acquireuserpasswd`(in name1 VARCHAR(64), out uid1 INTEGER, out passwd1 VARCHAR(64))
BEGIN
  DECLARE passwdtemp VARCHAR(64);
  START TRANSACTION;
    SELECT id, passwd INTO uid1, passwdtemp FROM users WHERE name = name1;
    SELECT fn_varbintohexsubstring(1,passwdtemp,1,0) INTO passwd1;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `addForbid`(in userid1 INTEGER, in type1 INTEGER, in forbid_time1 INTEGER, in reason1 BINARY(255), in gmroleid1 INTEGER)
BEGIN
 DECLARE rowcount INTEGER;
  START TRANSACTION;
    UPDATE forbid SET ctime = now(), forbid_time = forbid_time1, reason = reason1, gmroleid = gmroleid1 WHERE userid = userid1 AND type = type1;
    SET rowcount = ROW_COUNT();
    IF rowcount = 0 THEN
      INSERT INTO forbid VALUES(userid1, type1, now(), forbid_time1, reason1, gmroleid);
    END IF;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `addGM`(in userid INTEGER, in zoneid INTEGER)
BEGIN
  DECLARE x INTEGER;
  START TRANSACTION;
    SET x = 0;
    WHILE x < 12 DO
      INSERT INTO auth VALUES (userid, zoneid, x);
      SET x = x + 1;
    END WHILE;
    SET x = 100;
    WHILE x < 106 DO
      INSERT INTO auth VALUES (userid, zoneid, x);
      SET x = x + 1;
    END WHILE;
    SET x = 200;
    WHILE x < 215 DO
      INSERT INTO auth VALUES (userid, zoneid, x);
      SET x = x + 1;
    END WHILE;
    SET x = 500;
    WHILE x < 519 DO
      INSERT INTO auth VALUES (userid, zoneid, x);
      SET x = x + 1;
    END WHILE;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `adduser`(
  in name1 VARCHAR(64),
  in passwd1 VARCHAR(64),
  in prompt1 VARCHAR(32),
  in answer1 VARCHAR(32),
  in truename1 VARCHAR(32),
  in idnumber1 VARCHAR(32),
  in email1 VARCHAR(32),
  in mobilenumber1 VARCHAR(32),
  in province1 VARCHAR(32),
  in city1 VARCHAR(32),
  in phonenumber1 VARCHAR(32),
  in address1 VARCHAR(64),
  in postalcode1 VARCHAR(8),
  in gender1 INTEGER,
  in birthday1 VARCHAR(32),
  in qq1 VARCHAR(32),
  in passwd21 VARCHAR(64)
)
BEGIN
  DECLARE idtemp INTEGER;
    SELECT IFNULL(MAX(id), 1008) + 16 INTO idtemp FROM users;
    INSERT INTO users (id,name,passwd,prompt,answer,truename,idnumber,email,mobilenumber,province,city,phonenumber,address,postalcode,gender,birthday,creatime,qq,passwd2) VALUES( idtemp, name1, passwd1, prompt1, answer1, truename1, idnumber1, email1, mobilenumber1, province1, city1, phonenumber1, address1, postalcode1, gender1, birthday1, now(), qq1, passwd21 );
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `adduserpoint`(in uid1 INTEGER, in aid1 INTEGER, in time1 INTEGER)
BEGIN
 DECLARE rowcount INTEGER;
 START TRANSACTION;
    UPDATE point SET time = IFNULL(time,0) + time1 WHERE uid1 = uid AND aid1 = aid;
    SET rowcount = ROW_COUNT();
    IF rowcount = 0 THEN
      INSERT INTO point (uid,aid,time) VALUES (uid1,aid1,time1);
    END IF;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `addUserPriv`(in userid INTEGER, in zoneid INTEGER, in rid INTEGER)
BEGIN
  START TRANSACTION;
    INSERT INTO auth VALUES(userid, zoneid, rid);
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `changePasswd`(in name1 VARCHAR(64), in passwd1 VARCHAR(64))
BEGIN
  START TRANSACTION;
    UPDATE users SET passwd = passwd1 WHERE name = name1;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `changePasswd2`(in name1 VARCHAR(64), in passwd21 VARCHAR(64))
BEGIN
  START TRANSACTION;
    UPDATE users SET passwd2 = passwd21 WHERE name = name1;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `clearonlinerecords`(in zoneid1 INTEGER, in aid1 INTEGER)
BEGIN
  START TRANSACTION;
    UPDATE point SET zoneid = NULL, zonelocalid = NULL WHERE aid = aid1 AND zoneid = zoneid1;
    DELETE FROM online;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `deleteTimeoutForbid`(in userid1 INTEGER)
BEGIN
  START TRANSACTION;
    DELETE FROM forbid WHERE userid = userid1 AND timestampdiff(second, ctime, now()) > forbid_time;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `delUserPriv`(in userid1 INTEGER, in zoneid1 INTEGER, in rid1 INTEGER, in deltype1 INTEGER)
BEGIN
START TRANSACTION;
  IF deltype1 = 0 THEN
    DELETE FROM auth WHERE userid = userid1 AND zoneid = zoneid1 AND rid = rid1;
  ELSE
    IF deltype1 = 1 THEN
      DELETE FROM auth WHERE userid = userid1 AND zoneid = zoneid1;
    ELSE
      IF deltype1 = 2 THEN
        DELETE FROM auth WHERE userid = userid1;
      END IF;
    END IF;
  END IF;
COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `enableiplimit`(in uid1 INTEGER, in enable1 CHAR(1))
BEGIN
  DECLARE rowcount INTEGER;
  START TRANSACTION;
  UPDATE iplimit SET enable=enable1 WHERE uid=uid1;
  SET rowcount = ROW_COUNT();
  IF rowcount = 0 THEN
    INSERT INTO iplimit (uid,enable) VALUES (uid1,enable1);
  END IF;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `lockuser`(in uid1 INTEGER, in lockstatus1 CHAR(1))
BEGIN
  DECLARE rowcount INTEGER;
  START TRANSACTION;
  UPDATE iplimit SET lockstatus=lockstatus1 WHERE uid=uid1;
  SET rowcount = ROW_COUNT();
  IF rowcount = 0 THEN
    INSERT INTO iplimit (uid,lockstatus,enable) VALUES (uid1,lockstatus1,'t');
  END IF;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `recordoffline`(in uid1 INTEGER, in aid1 INTEGER, inout zoneid1 INTEGER, inout zonelocalid1 INTEGER, inout overwrite1 INTEGER)
BEGIN
  DECLARE rowcount INTEGER;
  START TRANSACTION;
    UPDATE point SET zoneid = NULL, zonelocalid = NULL WHERE uid = uid1 AND aid = aid1 AND zoneid = zoneid1;
    DELETE FROM online WHERE ID = uid1;
    SET rowcount = ROW_COUNT();
    IF overwrite1 = rowcount THEN
      SELECT zoneid, zonelocalid INTO zoneid1, zonelocalid1 FROM point WHERE uid = uid1 AND aid = aid1;
    END IF;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `recordonline`(in uid1 INTEGER, in aid1 INTEGER, inout zoneid1 INTEGER, inout zonelocalid1 INTEGER, inout overwrite INTEGER)
BEGIN
  DECLARE tmp_zoneid INTEGER;
  DECLARE tmp_zonelocalid INTEGER;
  DECLARE rowcount INTEGER;
  START TRANSACTION;
    SELECT SQL_CALC_FOUND_ROWS zoneid, zonelocalid INTO tmp_zoneid, tmp_zonelocalid FROM point WHERE uid = uid1 and aid = aid1;
    INSERT INTO online (ID) VALUES (uid1);
    SET rowcount = FOUND_ROWS();
    IF rowcount = 0 THEN
      INSERT INTO point (uid, aid, time, zoneid, zonelocalid, lastlogin) VALUES (uid1, aid1, 0, zoneid1, zonelocalid1, now());
    ELSE IF tmp_zoneid IS NULL OR overwrite = 1 THEN
      UPDATE point SET zoneid = zoneid1, zonelocalid = zonelocalid1, lastlogin = now() WHERE uid = uid1 AND aid = aid1;
    END IF;
    END IF;
    IF tmp_zoneid IS NULL THEN
      SET overwrite = 1;
    ELSE
      SET zoneid1 = tmp_zoneid;
      SET zonelocalid1 = tmp_zonelocalid;
    END IF;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `remaintime`(in uid1 INTEGER, in aid1 INTEGER, out remain INTEGER, out freetimeleft INTEGER)
BEGIN
  DECLARE enddate1 DATETIME;
  DECLARE now1 DATETIME;
  DECLARE rowcount INTEGER;
  START TRANSACTION;
  SET now1 = now();
  IF aid1 = 0 THEN
    SET remain = 86313600;
    SET enddate1 = date_add(now1, INTERVAL '30' DAY);
  ELSE
    SELECT time, IFNULL(enddate, now1) INTO remain, enddate1 FROM point WHERE uid = uid1 AND aid = aid1;
    SET rowcount = ROW_COUNT();
    IF rowcount = 0 THEN
      SET remain = 0;
      INSERT INTO point (uid,aid,time) VALUES (uid1, aid1, remain);
    END IF;
  END IF;
  SET freetimeleft = 0;
  IF enddate1 > now1 THEN
    SET freetimeleft = timestampdiff(second, now1, enddate1);
  END IF;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `setiplimit`(in uid1 INTEGER, in ipaddr11 INTEGER, in ipmask11 VARCHAR(2), in ipaddr21 INTEGER, in ipmask21 VARCHAR(2), in ipaddr31 INTEGER, in ipmask31 VARCHAR(2), in enable1 CHAR(1))
BEGIN
  DECLARE rowcount INTEGER;
  START TRANSACTION;
    UPDATE iplimit SET ipaddr1 = ipaddr11, ipmask1 = ipmask11, ipaddr2 = ipaddr21, ipmask2 = ipmask21, ipaddr3 = ipaddr31, ipmask3 = ipmask31 WHERE uid = uid1;
    SET rowcount = ROW_COUNT();
    IF rowcount = 0 THEN
      INSERT INTO iplimit (uid, ipaddr1, ipmask1, ipaddr2, ipmask2, ipaddr3, ipmask3, enable1) VALUES (uid1, ipaddr11, ipmask11, ipaddr21, ipmask21, ipaddr31, ipmask31,'t');
    END IF;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `updateUserInfo`(
  in name1 VARCHAR(32),
  in prompt1 VARCHAR(32),
  in answer1 VARCHAR(32),
  in truename1 VARCHAR(32),
  in idnumber1 VARCHAR(32),
  in email1 VARCHAR(32),
  in mobilenumber1 VARCHAR(32),
  in province1 VARCHAR(32),
  in city1 VARCHAR(32),
  in phonenumber1 VARCHAR(32),
  in address1 VARCHAR(32),
  in postalcode1 VARCHAR(32),
  in gender1 INTEGER,
  in birthday1 VARCHAR(32),
  in qq1 VARCHAR(32)
 )
BEGIN
  START TRANSACTION;
    UPDATE users SET prompt = prompt1, answer = answer1, truename = truename1, idnumber = idnumber1, email = email1, mobilenumber = mobilenumber1, province = province1, city = city1, phonenumber = phonenumber1, address = address1, postalcode = postalcode1, gender = gender1, birthday = birthda1, qq = qq1 WHERE name = name1;
  COMMIT;
END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `usecash`(
  in userid1 INTEGER,
  in zoneid1 INTEGER,
  in sn1 INTEGER,
  in aid1 INTEGER,
  in point1 INTEGER,
  in cash1 INTEGER,
  in status1 INTEGER,
  out error INTEGER
)
BEGIN
DECLARE sn_old INTEGER;
DECLARE aid_old INTEGER;
DECLARE point_old INTEGER;
DECLARE cash_old INTEGER;
DECLARE status_old INTEGER;
DECLARE createtime_old DATETIME;
DECLARE time_old INTEGER;
DECLARE need_restore INTEGER;
DECLARE exists1 INTEGER;
DECLARE rowcount INTEGER;
START TRANSACTION;
  SET error = 0;
  SET need_restore = 0;
  SELECT SQL_CALC_FOUND_ROWS sn, aid, point, cash, status, creatime INTO sn_old, aid_old, point_old, cash_old, status_old, createtime_old FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND sn >= 0;
  SET rowcount = FOUND_ROWS();
  IF rowcount = 1 THEN
    SET exists1 = 1;
  ELSE
    SET exists1 = 0;
  END IF;
  IF status1 = 0 THEN
    IF exists1 = 0 THEN
      SELECT aid, point INTO aid1, point1 FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn1;
      SET point1 = IFNULL(point1,0);
      UPDATE point SET time = time-point1 WHERE uid = userid1 AND aid = aid1 AND time >= point1;
      SET rowcount = ROW_COUNT();
      IF rowcount = 1 THEN
        UPDATE usecashnow SET sn = 0, status = 1 WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn1;
      ELSE
        SET error = -8;
      END IF;
    END IF;
  ELSE
    IF status1 = 1 THEN
      IF exists1 = 0 THEN
        UPDATE point SET time = time-point1 WHERE uid = userid1 AND aid = aid1 AND time >= point1;
        SET rowcount = ROW_COUNT();
        IF rowcount = 1 THEN
          INSERT INTO usecashnow (userid, zoneid, sn, aid, point, cash, status, creatime) VALUES (userid1, zoneid1, sn1, aid1, point1, cash1, status1, now());
        ELSE
          INSERT INTO usecashnow SELECT userid1, zoneid1, IFNULL(min(sn),0)-1, aid1, point1, cash1, 0, now() FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND 0 >= sn;
          SET error = -8;
        END IF;
      ELSE
        INSERT INTO usecashnow SELECT userid1, zoneid1, IFNULL(min(sn),0)-1, aid1, point1, cash1, 0, now() FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND 0 >= sn;
        SET error = -7;
      END IF;
    ELSE
      IF status1 = 2 THEN
        IF exists1 = 1 AND status_old = 1 AND sn_old = 0 THEN
          UPDATE usecashnow SET sn = sn1, status = status1 WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn_old;
        ELSE
          SET error = -9;
        END IF;
      ELSE
        IF status1 = 3 THEN
          IF exists1 = 1 AND status_old = 2 THEN
            UPDATE usecashnow SET status = status1 WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn_old;
          ELSE
            SET error = -10;
            END IF;
        ELSE
        IF status1 = 4 THEN
          IF exists1 = 1 THEN
            DELETE FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn_old;
            INSERT INTO usecashlog (userid, zoneid, sn, aid, point, cash, status, creatime, fintime) VALUES (userid1, zoneid1, sn_old, aid_old, point_old, cash_old, status1, createtime_old, now());
          END IF;
          IF NOT (exists1 = 1 AND status_old = 3) THEN
            SET error = -11;
          END IF;
        ELSE
          SET error = -12;
        END IF;
      END IF;
    END IF;
  END IF;
  END IF;
  IF need_restore = 1 THEN
    UPDATE point SET time = time+point_old WHERE uid = userid1 AND aid = aid_old;
    DELETE FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn_old;
    INSERT INTO usecashlog (userid, zoneid, sn, aid, point, cash, status, creatime, fintime) VALUES (userid1, zoneid1, sn_old, aid_old, point_old, cash_old, status1, createtime_old, now());
  END IF;
COMMIT;
END$$

--
-- Functions
--
CREATE DEFINER=`root`@`localhost` FUNCTION `fn_varbintohexsubstring`(fsetprefix bit,pbinin varbinary(8000),startoffset int,cbytesin int) RETURNS varchar(4000) CHARSET latin1
    READS SQL DATA
BEGIN
  DECLARE pstrout VARCHAR(4000);
  DECLARE i int;
  DECLARE firstnibble int;
  DECLARE secondnibble int;
  DECLARE tempint int;
  DECLARE hexstring char( 16);
  BEGIN
    IF( pbinin IS NOT NULL) THEN
      SET i= 0, cbytesin= CASE WHEN( cbytesin> 0) THEN cbytesin ELSE LENGTH( pbinin) END,
        pstrout= CASE WHEN( fsetprefix= 1) THEN '0x'  ELSE ''  END,
        hexstring= '0123456789abcdef';
      IF((( cbytesin * 2) + 2> 4000) or( startoffset< 1)) THEN
        RETURN NULL;
      END IF;
      WHILE( i< cbytesin) DO
        SET tempint= ASCII( substring( pbinin, i + startoffset, 1));
        SET firstnibble= TRUNCATE((tempint / 16),0);
        SET secondnibble= tempint % 16;
        SET pstrout= CONCAT(pstrout ,cast( substring( hexstring,( firstnibble+1), 1) AS CHAR), cast( substring( hexstring,( secondnibble+1), 1) AS CHAR));
        SET i= i + 1;
      END WHILE;
      RETURN pstrout;
    END IF;
    RETURN NULL;
  END;
END$$

DELIMITER ;

-- --------------------------------------------------------

--
-- Table structure for table `auth`
--

CREATE TABLE IF NOT EXISTS `auth` (
  `userid` int(11) NOT NULL DEFAULT '0',
  `zoneid` int(11) NOT NULL DEFAULT '0',
  `rid` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`userid`,`zoneid`,`rid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `forbid`
--

CREATE TABLE IF NOT EXISTS `forbid` (
  `userid` int(11) NOT NULL DEFAULT '0',
  `type` int(11) NOT NULL DEFAULT '0',
  `ctime` datetime NOT NULL,
  `forbid_time` int(11) NOT NULL DEFAULT '0',
  `reason` blob NOT NULL,
  `gmroleid` int(11) DEFAULT '0',
  PRIMARY KEY (`userid`,`type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `iplimit`
--

CREATE TABLE IF NOT EXISTS `iplimit` (
  `uid` int(11) NOT NULL DEFAULT '0',
  `ipaddr1` int(11) DEFAULT '0',
  `ipmask1` varchar(2) DEFAULT '',
  `ipaddr2` int(11) DEFAULT '0',
  `ipmask2` varchar(2) DEFAULT '',
  `ipaddr3` int(11) DEFAULT '0',
  `ipmask3` varchar(2) DEFAULT '',
  `enable` char(1) DEFAULT '',
  `lockstatus` char(1) DEFAULT '',
  PRIMARY KEY (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `online`
--

CREATE TABLE IF NOT EXISTS `online` (
  `ID` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `point`
--

CREATE TABLE IF NOT EXISTS `point` (
  `uid` int(11) NOT NULL DEFAULT '0',
  `aid` int(11) NOT NULL DEFAULT '0',
  `time` int(11) NOT NULL DEFAULT '0',
  `zoneid` int(11) DEFAULT '0',
  `zonelocalid` int(11) DEFAULT '0',
  `accountstart` datetime DEFAULT NULL,
  `lastlogin` datetime DEFAULT NULL,
  `enddate` datetime DEFAULT NULL,
  PRIMARY KEY (`uid`,`aid`),
  KEY `IX_point_aidzoneid` (`aid`,`zoneid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `roles`
--

CREATE TABLE IF NOT EXISTS `roles` (
  `account_id` int(11) NOT NULL,
  `role_id` int(11) NOT NULL,
  `role_name` varchar(32) NOT NULL,
  `role_level` smallint(6) NOT NULL,
  `role_race` tinyint(4) NOT NULL,
  `role_occupation` tinyint(4) NOT NULL,
  `role_gender` tinyint(4) NOT NULL,
  `role_spouse` int(11) NOT NULL,
  `faction_id` int(11) NOT NULL,
  `faction_name` varchar(32) NOT NULL,
  `faction_level` int(11) NOT NULL,
  `faction_domains` varchar(132) NOT NULL,
  `role_faction_rank` int(11) NOT NULL,
  `pvp_time` int(11) NOT NULL,
  `pvp_kills` int(11) NOT NULL,
  `pvp_deads` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `usecashlog`
--

CREATE TABLE IF NOT EXISTS `usecashlog` (
  `userid` int(11) NOT NULL DEFAULT '0',
  `zoneid` int(11) NOT NULL DEFAULT '0',
  `sn` int(11) NOT NULL DEFAULT '0',
  `aid` int(11) NOT NULL DEFAULT '0',
  `point` int(11) NOT NULL DEFAULT '0',
  `cash` int(11) NOT NULL DEFAULT '0',
  `status` int(11) NOT NULL DEFAULT '0',
  `creatime` datetime NOT NULL,
  `fintime` datetime NOT NULL,
  KEY `IX_usecashlog_creatime` (`creatime`),
  KEY `IX_usecashlog_uzs` (`userid`,`zoneid`,`sn`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `usecashnow`
--

CREATE TABLE IF NOT EXISTS `usecashnow` (
  `userid` int(11) NOT NULL DEFAULT '0',
  `zoneid` int(11) NOT NULL DEFAULT '0',
  `sn` int(11) NOT NULL DEFAULT '0',
  `aid` int(11) NOT NULL DEFAULT '0',
  `point` int(11) NOT NULL DEFAULT '0',
  `cash` int(11) NOT NULL DEFAULT '0',
  `status` int(11) NOT NULL DEFAULT '0',
  `creatime` datetime NOT NULL,
  PRIMARY KEY (`userid`,`zoneid`,`sn`),
  KEY `IX_usecashnow_creatime` (`creatime`),
  KEY `IX_usecashnow_status` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE IF NOT EXISTS `users` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `name` varchar(32) NOT NULL DEFAULT '',
  `passwd` varchar(64) NOT NULL,
  `Prompt` varchar(32) NOT NULL DEFAULT '',
  `answer` varchar(32) NOT NULL DEFAULT '',
  `truename` varchar(32) NOT NULL DEFAULT '',
  `idnumber` varchar(32) NOT NULL DEFAULT '',
  `email` varchar(64) NOT NULL DEFAULT '',
  `mobilenumber` varchar(32) DEFAULT '',
  `province` varchar(32) DEFAULT '',
  `city` varchar(32) DEFAULT '',
  `phonenumber` varchar(32) DEFAULT '',
  `address` varchar(64) DEFAULT '',
  `postalcode` varchar(8) DEFAULT '',
  `gender` int(11) DEFAULT '0',
  `birthday` datetime DEFAULT NULL,
  `creatime` datetime NOT NULL,
  `qq` varchar(32) DEFAULT '',
  `passwd2` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  UNIQUE KEY `IX_users_name` (`name`),
  KEY `IX_users_creatime` (`creatime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `users`
--

REPLACE INTO `users` (`ID`, `name`, `passwd`, `Prompt`, `answer`, `truename`, `idnumber`, `email`, `mobilenumber`, `province`, `city`, `phonenumber`, `address`, `postalcode`, `gender`, `birthday`, `creatime`, `qq`, `passwd2`) VALUES
(16, 'template', '#㌏"~ZÈŸV', '0', '0', '0', '0', 'not_needed', '0', '0', '0', '0', '0', '0', 0, '0000-00-00 00:00:00', '2013-05-22 03:35:42', '', '#㌏"~ZÈŸV');

-- --------------------------------------------------------

--
-- Table structure for table `uwebplayers`
--

CREATE TABLE IF NOT EXISTS `uwebplayers` (
  `roleid` int(11) NOT NULL,
  `rolename` varchar(50) DEFAULT NULL,
  `rolelevel` int(11) DEFAULT NULL,
  `rolestatus` int(11) DEFAULT NULL,
  `rolegender` int(11) DEFAULT NULL,
  `roleprof` bigint(20) DEFAULT NULL,
  `rolerep` bigint(20) DEFAULT NULL,
  `redname` bigint(20) DEFAULT NULL,
  `rednametime` bigint(20) DEFAULT NULL,
  `pinknametime` bigint(20) DEFAULT NULL,
  PRIMARY KEY (`roleid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

that ones from the pwadmin thread..


Code:

use pw;


DELIMITER $$
CREATE PROCEDURE `acquireuserpasswd`(in name1 VARCHAR(64), out uid1 INTEGER, out passwd1 VARCHAR(64))
BEGIN
    SELECT id, passwd INTO uid1, passwd1 FROM users WHERE name = name1;
END$$



CREATE PROCEDURE `addForbid`(in userid1 INTEGER, in type1 INTEGER, in forbid_time1 INTEGER, in reason1 BINARY(255), in gmroleid1 INTEGER)
BEGIN
 DECLARE rowcount INTEGER;
  START TRANSACTION;
    UPDATE forbid SET ctime = now(), forbid_time = forbid_time1, reason = reason1, gmroleid = gmroleid1 WHERE userid = userid1 AND type = type1;
    SET rowcount = ROW_COUNT();
    IF rowcount = 0 THEN
      INSERT INTO forbid VALUES(userid1, type1, now(), forbid_time1, reason1, gmroleid);
    END IF;
  COMMIT;
END$$



CREATE PROCEDURE `addGM`(in userid INTEGER, in zoneid INTEGER)
BEGIN
  DECLARE x INTEGER;
  START TRANSACTION;
    SET x = 0;
    WHILE x < 12 DO
      INSERT INTO auth VALUES (userid, zoneid, x);
      SET x = x + 1;
    END WHILE;
    SET x = 100;
    WHILE x < 106 DO
      INSERT INTO auth VALUES (userid, zoneid, x);
      SET x = x + 1;
    END WHILE;
    SET x = 200;
    WHILE x < 215 DO
      INSERT INTO auth VALUES (userid, zoneid, x);
      SET x = x + 1;
    END WHILE;
    SET x = 500;
    WHILE x < 519 DO
      INSERT INTO auth VALUES (userid, zoneid, x);
      SET x = x + 1;
    END WHILE;
  COMMIT;
END$$

CREATE PROCEDURE `adduser`(
  in name1 VARCHAR(64),
  in passwd1 VARCHAR(64),
  in prompt1 VARCHAR(32),
  in answer1 VARCHAR(32),
  in truename1 VARCHAR(32),
  in idnumber1 VARCHAR(32),
  in email1 VARCHAR(32),
  in mobilenumber1 VARCHAR(32),
  in province1 VARCHAR(32),
  in city1 VARCHAR(32),
  in phonenumber1 VARCHAR(32),
  in address1 VARCHAR(64),
  in postalcode1 VARCHAR(8),
  in gender1 INTEGER,
  in birthday1 VARCHAR(32),
  in qq1 VARCHAR(32),
  in passwd21 VARCHAR(64)
)
BEGIN
  DECLARE idtemp INTEGER;
    SELECT IFNULL(MAX(id), 1008) + 16 INTO idtemp FROM users;
    INSERT INTO users (id,name,passwd,prompt,answer,truename,idnumber,email,mobilenumber,province,city,phonenumber,address,postalcode,gender,birthday,creatime,qq,passwd2) VALUES( idtemp, name1, passwd1, prompt1, answer1, truename1, idnumber1, email1, mobilenumber1, province1, city1, phonenumber1, address1, postalcode1, gender1, birthday1, now(), qq1, passwd21 );
END$$



CREATE PROCEDURE `adduserpoint`(in uid1 INTEGER, in aid1 INTEGER, in time1 INTEGER)
BEGIN
 DECLARE rowcount INTEGER;
 START TRANSACTION;
    UPDATE point SET time = IFNULL(time,0) + time1 WHERE uid1 = uid AND aid1 = aid;
    SET rowcount = ROW_COUNT();
    IF rowcount = 0 THEN
      INSERT INTO point (uid,aid,time) VALUES (uid1,aid1,time1);
    END IF;
  COMMIT;
END$$

CREATE PROCEDURE `addUserPriv`(in userid INTEGER, in zoneid INTEGER, in rid INTEGER)
BEGIN
  START TRANSACTION;
    INSERT INTO auth VALUES(userid, zoneid, rid);
  COMMIT;
END$$

CREATE PROCEDURE `changePasswd`(in name1 VARCHAR(64), in passwd1 VARCHAR(64))
BEGIN
  START TRANSACTION;
    UPDATE users SET passwd = passwd1 WHERE name = name1;
  COMMIT;
END$$

CREATE PROCEDURE `changePasswd2`(in name1 VARCHAR(64), in passwd21 VARCHAR(64))
BEGIN
  START TRANSACTION;
    UPDATE users SET passwd2 = passwd21 WHERE name = name1;
  COMMIT;
END$$

CREATE PROCEDURE `clearonlinerecords`(in zoneid1 INTEGER, in aid1 INTEGER)
BEGIN
  START TRANSACTION;
    UPDATE point SET zoneid = NULL, zonelocalid = NULL WHERE aid = aid1 AND zoneid = zoneid1;
  COMMIT;
END$$

CREATE PROCEDURE `deleteTimeoutForbid`(in userid1 INTEGER)
BEGIN
  START TRANSACTION;
    DELETE FROM forbid WHERE userid = userid1 AND timestampdiff(second, ctime, now()) > forbid_time;
  COMMIT;
END$$

CREATE PROCEDURE `delUserPriv`(in userid1 INTEGER, in zoneid1 INTEGER, in rid1 INTEGER, in deltype1 INTEGER)
BEGIN
START TRANSACTION;
  IF deltype1 = 0 THEN
    DELETE FROM auth WHERE userid = userid1 AND zoneid = zoneid1 AND rid = rid1;
  ELSE
    IF deltype1 = 1 THEN
      DELETE FROM auth WHERE userid = userid1 AND zoneid = zoneid1;
    ELSE
      IF deltype1 = 2 THEN
        DELETE FROM auth WHERE userid = userid1;
      END IF;
    END IF;
  END IF;
COMMIT;
END$$

CREATE PROCEDURE `enableiplimit`(in uid1 INTEGER, in enable1 CHAR(1))
BEGIN
  DECLARE rowcount INTEGER;
  START TRANSACTION;
  UPDATE iplimit SET enable=enable1 WHERE uid=uid1;
  SET rowcount = ROW_COUNT();
  IF rowcount = 0 THEN
    INSERT INTO iplimit (uid,enable) VALUES (uid1,enable1);
  END IF;
  COMMIT;
END$$

CREATE PROCEDURE `lockuser`(in uid1 INTEGER, in lockstatus1 CHAR(1))
BEGIN
  DECLARE rowcount INTEGER;
  START TRANSACTION;
  UPDATE iplimit SET lockstatus=lockstatus1 WHERE uid=uid1;
  SET rowcount = ROW_COUNT();
  IF rowcount = 0 THEN
    INSERT INTO iplimit (uid,lockstatus,enable) VALUES (uid1,lockstatus1,'t');
  END IF;
  COMMIT;
END$$

CREATE PROCEDURE `recordoffline`(in uid1 INTEGER, in aid1 INTEGER, inout zoneid1 INTEGER, inout zonelocalid1 INTEGER, inout overwrite1 INTEGER)
BEGIN
  DECLARE rowcount INTEGER;
  START TRANSACTION;
    UPDATE point SET zoneid = NULL, zonelocalid = NULL WHERE uid = uid1 AND aid = aid1 AND zoneid = zoneid1;
    SET rowcount = ROW_COUNT();
    IF overwrite1 = rowcount THEN
      SELECT zoneid, zonelocalid INTO zoneid1, zonelocalid1 FROM point WHERE uid = uid1 AND aid = aid1;
    END IF;
  COMMIT;
END$$

CREATE PROCEDURE `recordonline`(in uid1 INTEGER, in aid1 INTEGER, inout zoneid1 INTEGER, inout zonelocalid1 INTEGER, inout overwrite INTEGER)
BEGIN
  DECLARE tmp_zoneid INTEGER;
  DECLARE tmp_zonelocalid INTEGER;
  DECLARE rowcount INTEGER;
  START TRANSACTION;
    SELECT SQL_CALC_FOUND_ROWS zoneid, zonelocalid INTO tmp_zoneid, tmp_zonelocalid FROM point WHERE uid = uid1 and aid = aid1;
    SET rowcount = FOUND_ROWS();
    IF rowcount = 0 THEN
      INSERT INTO point (uid, aid, time, zoneid, zonelocalid, lastlogin) VALUES (uid1, aid1, 0, zoneid1, zonelocalid1, now());
    ELSE IF tmp_zoneid IS NULL OR overwrite = 1 THEN
      UPDATE point SET zoneid = zoneid1, zonelocalid = zonelocalid1, lastlogin = now() WHERE uid = uid1 AND aid = aid1;
    END IF;
    END IF;
    IF tmp_zoneid IS NULL THEN
      SET overwrite = 1;
    ELSE
      SET zoneid1 = tmp_zoneid;
      SET zonelocalid1 = tmp_zonelocalid;
    END IF;
  COMMIT;
END$$

CREATE PROCEDURE `remaintime`(in uid1 INTEGER, in aid1 INTEGER, out remain INTEGER, out freetimeleft INTEGER)
BEGIN
  DECLARE enddate1 DATETIME;
  DECLARE now1 DATETIME;
  DECLARE rowcount INTEGER;
  START TRANSACTION;
  SET now1 = now();
  IF aid1 = 0 THEN
    SET remain = 86313600;
    SET enddate1 = date_add(now1, INTERVAL '30' DAY);
  ELSE
    SELECT time, IFNULL(enddate, now1) INTO remain, enddate1 FROM point WHERE uid = uid1 AND aid = aid1;
    SET rowcount = ROW_COUNT();
    IF rowcount = 0 THEN
      SET remain = 0;
      INSERT INTO point (uid,aid,time) VALUES (uid1, aid1, remain);
    END IF;
  END IF;
  SET freetimeleft = 0;
  IF enddate1 > now1 THEN
    SET freetimeleft = timestampdiff(second, now1, enddate1);
  END IF;
  COMMIT;
END$$

CREATE PROCEDURE `setiplimit`(in uid1 INTEGER, in ipaddr11 INTEGER, in ipmask11 VARCHAR(2), in ipaddr21 INTEGER, in ipmask21 VARCHAR(2), in ipaddr31 INTEGER, in ipmask31 VARCHAR(2), in enable1 CHAR(1))
BEGIN
  DECLARE rowcount INTEGER;
  START TRANSACTION;
    UPDATE iplimit SET ipaddr1 = ipaddr11, ipmask1 = ipmask11, ipaddr2 = ipaddr21, ipmask2 = ipmask21, ipaddr3 = ipaddr31, ipmask3 = ipmask31 WHERE uid = uid1;
    SET rowcount = ROW_COUNT();
    IF rowcount = 0 THEN
      INSERT INTO iplimit (uid, ipaddr1, ipmask1, ipaddr2, ipmask2, ipaddr3, ipmask3, enable1) VALUES (uid1, ipaddr11, ipmask11, ipaddr21, ipmask21, ipaddr31, ipmask31,'t');
    END IF;
  COMMIT;
END$$

CREATE PROCEDURE `updateUserInfo`(
  in name1 VARCHAR(32),
  in prompt1 VARCHAR(32),
  in answer1 VARCHAR(32),
  in truename1 VARCHAR(32),
  in idnumber1 VARCHAR(32),
  in email1 VARCHAR(32),
  in mobilenumber1 VARCHAR(32),
  in province1 VARCHAR(32),
  in city1 VARCHAR(32),
  in phonenumber1 VARCHAR(32),
  in address1 VARCHAR(32),
  in postalcode1 VARCHAR(32),
  in gender1 INTEGER,
  in birthday1 VARCHAR(32),
  in qq1 VARCHAR(32)
 )
BEGIN
  START TRANSACTION;
    UPDATE users SET prompt = prompt1, answer = answer1, truename = truename1, idnumber = idnumber1, email = email1, mobilenumber = mobilenumber1, province = province1, city = city1, phonenumber = phonenumber1, address = address1, postalcode = postalcode1, gender = gender1, birthday = birthda1, qq = qq1 WHERE name = name1;
  COMMIT;
END$$

CREATE PROCEDURE `usecash`(
  in userid1 INTEGER,
  in zoneid1 INTEGER,
  in sn1 INTEGER,
  in aid1 INTEGER,
  in point1 INTEGER,
  in cash1 INTEGER,
  in status1 INTEGER,
  out error INTEGER
)
BEGIN
DECLARE sn_old INTEGER;
DECLARE aid_old INTEGER;
DECLARE point_old INTEGER;
DECLARE cash_old INTEGER;
DECLARE status_old INTEGER;
DECLARE createtime_old DATETIME;
DECLARE time_old INTEGER;
DECLARE need_restore INTEGER;
DECLARE exists1 INTEGER;
DECLARE rowcount INTEGER;
START TRANSACTION;
  SET error = 0;
  SET need_restore = 0;
  SELECT SQL_CALC_FOUND_ROWS sn, aid, point, cash, status, creatime INTO sn_old, aid_old, point_old, cash_old, status_old, createtime_old FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND sn >= 0;
  SET rowcount = FOUND_ROWS();
  IF rowcount = 1 THEN
    SET exists1 = 1;
  ELSE
    SET exists1 = 0;
  END IF;
  IF status1 = 0 THEN
    IF exists1 = 0 THEN
      SELECT aid, point INTO aid1, point1 FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn1;
      SET point1 = IFNULL(point1,0);
      UPDATE point SET time = time-point1 WHERE uid = userid1 AND aid = aid1 AND time >= point1;
      SET rowcount = ROW_COUNT();
      IF rowcount = 1 THEN
        UPDATE usecashnow SET sn = 0, status = 1 WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn1;
      ELSE
        SET error = -8;
      END IF;
    END IF;
  ELSE
    IF status1 = 1 THEN
      IF exists1 = 0 THEN
        UPDATE point SET time = time-point1 WHERE uid = userid1 AND aid = aid1 AND time >= point1;
        SET rowcount = ROW_COUNT();
        IF rowcount = 1 THEN
          INSERT INTO usecashnow (userid, zoneid, sn, aid, point, cash, status, creatime) VALUES (userid1, zoneid1, sn1, aid1, point1, cash1, status1, now());
        ELSE
          INSERT INTO usecashnow SELECT userid1, zoneid1, IFNULL(min(sn),0)-1, aid1, point1, cash1, 0, now() FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND 0 >= sn;
          SET error = -8;
        END IF;
      ELSE
        INSERT INTO usecashnow SELECT userid1, zoneid1, IFNULL(min(sn),0)-1, aid1, point1, cash1, 0, now() FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND 0 >= sn;
        SET error = -7;
      END IF;
    ELSE
      IF status1 = 2 THEN
        IF exists1 = 1 AND status_old = 1 AND sn_old = 0 THEN
          UPDATE usecashnow SET sn = sn1, status = status1 WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn_old;
        ELSE
          SET error = -9;
        END IF;
      ELSE
        IF status1 = 3 THEN
          IF exists1 = 1 AND status_old = 2 THEN
            UPDATE usecashnow SET status = status1 WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn_old;
          ELSE
            SET error = -10;
            END IF;
        ELSE
        IF status1 = 4 THEN
          IF exists1 = 1 THEN
            DELETE FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn_old;
            INSERT INTO usecashlog (userid, zoneid, sn, aid, point, cash, status, creatime, fintime) VALUES (userid1, zoneid1, sn_old, aid_old, point_old, cash_old, status1, createtime_old, now());
          END IF;
          IF NOT (exists1 = 1 AND status_old = 3) THEN
            SET error = -11;
          END IF;
        ELSE
          SET error = -12;
        END IF;
      END IF;
    END IF;
  END IF;
  END IF;
  IF need_restore = 1 THEN
    UPDATE point SET time = time+point_old WHERE uid = userid1 AND aid = aid_old;
    DELETE FROM usecashnow WHERE userid = userid1 AND zoneid = zoneid1 AND sn = sn_old;
    INSERT INTO usecashlog (userid, zoneid, sn, aid, point, cash, status, creatime, fintime) VALUES (userid1, zoneid1, sn_old, aid_old, point_old, cash_old, status1, createtime_old, now());
  END IF;
COMMIT;
END$$


that one is the working one I got atm but wont load charcs on pwadmin..... most ppl will say change this


BEGIN
DECLARE idtemp INTEGER;
SELECT IFNULL(MAX(id), 1008) + 16 INTO idtemp FROM users;
INSERT INTO users (id,name,passwd,prompt,answer,truename,idnumber,email,mobilenumber,province,city,phonenumber,address,postalcode,gender,birthday,creatime,qq,passwd2) VALUES( idtemp, name1, passwd1, prompt1, answer1, truename1, idnumber1, email1, mobilenumber1, province1, city1, phonenumber1, address1, postalcode1, gender1, birthday1, now(), qq1, passwd21 );
END$$

that's right on both sqls.... so what is the issue with the one from pwadmin?

and I changed this line on the one from pwadmin thread to make it work
REPLACE INTO `users` (`ID`, `name`, `passwd`, `Prompt`, `answer`, `truename`, `idnumber`, `email`, `mobilenumber`, `province`, `city`, `phonenumber`, `address`, `postalcode`, `gender`, `birthday`, `creatime`, `qq`, `passwd2`) VALUES
(16, 'template', '#㌏"~ZÈŸV', '0', '0', '0', '0', 'not_needed', '0', '0', '0', '0', '0', '0', 0, '0000-00-00 00:00:00', '2013-05-22 03:35:42', '', '#㌏"~ZÈŸV');

I changed the (16, 'template' to 1024.... yeah the ids go into the database good and can be read as they keep going up but when registering an account it now says incorrect name and password... so how to fix the password situation? as yes I did compare the scripts and no big difference... or can I just use the old database that was working and add roles and the other tables to it?

[Help] Furni or Users wont load?:S

$
0
0
Hey guys! none of my furni or anything will load? does anyone know why? i have owned 3 hotels and have never had this error:S

Pic:
furnierror.png
Attached Images

Questions regarding infestation emulation

$
0
0
Hello,

I am currently studying computer science and would like to participiate in modding community operated gaming servers so I thought why not give ISS another shot for this purpose.

What programming languages do I need to know?
How popular are private servers for ISS?
Can you play with a cracked client?

Best regards,

Fractional.

[Release] Hiding real cabalmain version

$
0
0
Hello everyone, Happy holidays!! As christmas day is coming I have a gift for you, the possibility of hiding your real version of your main.. This will increase a bit the security of your client...

here you go..

005DB567 <-- the offset of client to server version matching.. Default cabalmain is depending on the file version, with a little tweak on this function you can make your cabalmain sending another value instead of sending the file version. That's all I can give to you, the rest its on your own..

To moderators, if you think this will only cause bad then don't hesitate to delete it. its fine.

To leechers, good luck on editing bro..

[Help] Ip limit help!

$
0
0
What is mean of IP Limit .. and what make>>??

[Request] Server 1.02N

$
0
0
Hello Everyone!!! Can anyone help me? I want MuServer 1.02N Version with Castel siege. please if anyone have this files add me in skype: giorgi4611 or Link there files. Thank You ! And Happy new year!

charater create

$
0
0
how do I do that start classe change the charater create





;
; Default Character Data
; 2005.6 By CJC
;

;-------------------------------- DEFINE SCRIPTOR COMMAND ---------------------------------
#DEFINE CHARACTER
<INTEGER> ; Class

<STRING> ; Start Map name
<INTEGER> ; Start PX
<INTEGER> ; Start PY

<INTEGER> ; HP
<INTEGER> ; SP
<INTEGER> ; HP Soul stone count
<INTEGER> ; SP Soul stone count

<INTEGER> ; Money
#ENDDEFINE

#DEFINE ITEM
<INTEGER> ; Class
<INTEGER> ; Item ID
<INTEGER> ; Item Lot
#ENDDEFINE

#DEFINE SKILL
<INTEGER> ; Class
<INTEGER> ; Skill ID
#ENDDEFINE

#DEFINE QUEST
<INTEGER> ; Class
<INTEGER> ; Quest ID
#ENDDEFINE

#DEFINE MAXSHAPE
<INTEGER> ; Class
<INTEGER> ; Max Face type
<INTEGER> ; Max Hair type
<INTEGER> ; Max Hair color
#ENDDEFINE

;----------------------------------- DEFINE DATA -----------------------------------
; Class:
; 1 = Fighter
; 11 = Cleric
; 15 = Archer
; 22 = Mage

;-----------------------------------------------------------------------------------
; Class Map PX PY HP SP HPSoul SPSoul Money
CHARACTER 4, "Rou", 7636, 4610, 52, 10, 15, 7, 5000
CHARACTER 2, "Rou", 7636, 4610, 52, 10, 15, 7, 5000
CHARACTER 3, "Rou", 7636, 4610, 52, 10, 15, 7, 5000
CHARACTER 4, "Rou", 7636, 4610, 52, 10, 15, 7, 5000
CHARACTER 5, "Rou", 7636, 4610, 52, 10, 15, 7, 5000
CHARACTER 6, "Rou", 7636, 4610, 52, 10, 15, 7, 5000
CHARACTER 7, "Rou", 7636, 4610, 52, 10, 15, 7, 5000

CHARACTER 11, "Rou", 7636, 4610, 46, 32, 14, 10, 5000
CHARACTER 9, "Rou", 7636, 4610, 46, 32, 14, 10, 5000
CHARACTER 10, "Rou", 7636, 4610, 46, 32, 14, 10, 5000
CHARACTER 11, "Rou", 7636, 4610, 46, 32, 14, 10, 5000
CHARACTER 12, "Rou", 7636, 4610, 46, 32, 14, 10, 5000
CHARACTER 13, "Rou", 7636, 4610, 46, 32, 14, 10, 5000
CHARACTER 14, "Rou", 7636, 4610, 46, 32, 14, 10, 5000

CHARACTER 111 , "Rou", 7636, 4610, 46, 24, 13, 10, 5000
CHARACTER 16, "Rou", 7636, 4610, 46, 24, 13, 10, 5000
CHARACTER 17, "Rou", 7636, 4610, 46, 24, 13, 10, 5000
CHARACTER 111 , "Rou", 7636, 4610, 46, 24, 13, 10, 5000
CHARACTER 19, "Rou", 7636, 4610, 46, 24, 13, 10, 5000
CHARACTER 20, "Rou", 7636, 4610, 46, 24, 13, 10, 5000
CHARACTER 21, "Rou", 7636, 4610, 46, 24, 13, 10, 5000

CHARACTER 26, "Rou", 7636, 4610, 42, 46, 11, 15, 5000
CHARACTER 23, "Rou", 7636, 4610, 42, 46, 11, 15, 5000
CHARACTER 24, "Rou", 7636, 4610, 42, 46, 11, 15, 5000
CHARACTER 25, "Rou", 7636, 4610, 42, 46, 11, 15, 5000
CHARACTER 26, "Rou", 7636, 4610, 42, 46, 11, 15, 5000
CHARACTER 27, "Rou", 7636, 4610, 42, 46, 11, 15, 5000
CHARACTER 211 , "Rou", 7636, 4610, 42, 46, 11, 15, 5000

[H5]WarSong MultiSkill [Beta2 Online]

$
0
0
Server Features & Rates



Dear Players,

Warsong is a new Project which is still Under Heavy Development with retail-like High Five content & custom new modifications. The aim of the project is to present new features, which will allow players to view at Lineage II from a different angle, like never before.


Unique server features:

  • Every Character can learn all*other class skills for Skill Points except 3rd profession abilities.

Skill costs will be calculated using this formula:

Other class skills costs 2x SP
Other race skills costs 2x SP
Other type Fighter/Mage skills costs 3x SP


Example 1: Human Rogue wants to learn Human Knight abilities. Every new skill will cost 2x of normal SP cost.
Example 2: Human Rogue wants to learn Dark Elf Assassin abilities. It will cost 2x * 2x = 4x of normal SP cost.
Example 3: Human Rogue wants to learn Dark Elf Mage abilities. Each skill will cost 2x * 2x * 3x = 12x of normal SP cost.

* Racial specific, as well as Inspector class abilities are not available for balance purposes.

  • Skill Unlearn Master NPC - if for some reason you will be willing to unlearn a skill, any Trainer in the game will be able to help you



  • 1-85 Level Monsters in the game have a chance to drop Ancient Materias(Water, Earth, Holy, Fire, Wind, Dark) which are used to learn other Class Skills, Specific Class skills and to purchase useful items at Warsong Merchant. Type of the Ancient Materia depends on Monster level. Additionally, drop rates are Dynamic. Therefore, chances to receive Ancient Materia from level 18 Monster are much higher than from level 6.

    Ancient Water Materia - May be looted from 1-23 level monsters. Used to learn 1-19 level skills and purchase items.
    Ancient Earth Materia - May be looted from 24-45 level monsters. Used to learn 20-39 level skills and purchase items.
    Ancient Holy Materia - May be looted from 46-75 level monsters. Used to learn 40-75 level skills and purchase items.
    Ancient Fire Materia - May be looted from 76-85 level monsters. Used to learn 76-85 level skills and purchase items.
    Ancient Wind Materia - May be looted from 79-85 level monsters. Used to learn 76-85 level skills and purchase items.
    Ancient Dark Materia - May be looted from 81-85 level monsters. Used to learn 76-85 level skills and purchase items.


  • Every Raid Boss in the world of Aden has a chance to drop specific Ancient Artifacts:

Ancient Water Necklace - may be obtained by slaying 20-23 level Raid Bosses
Ancient Earth Ring - may be obtained by slaying 24-45 level Raid Bosses
Ancient Holy Shield - may be obtained by slaying 46-75 level Raid Bosses
Ancient Scepter of Death - may be obtained by slaying 76-85 level Raid Bosses

Players may use Artifacts in order to:

1) Combine with Relics and learn 1-19, 20-39, 40-75, 76-85 level skills.
2) Exchange it for Ancient Materias and learn Special Skills at Warsong Merchant
3) Buy variety of goods at Warsong Merchant


Warsong Merchant is able to accept your Ancient Materias which may be looted from every monster in the world and exchange it for either
, , or (or vice versa)

In addition, upon character creation, Players will receive one extra item - Ancient Vote Relic 1x . This item may be combined with Vote Tokens and exchanged for additional Ancient Second Class skill Relic (Players may only receive 1 extra skill Relic)

  • Unique anti mastery-stack system. More information is available here
  • Upon deleveling, skills that do not meet level requirements are becoming hidden or their level decreases. More information is available here

Server Rates:

EXP: TBA
SP: TBA
Adena: TBA
Drop: TBA
Spoil: TBA
RB: TBA
Epic: TBA
Quest: TBA
Quest adena: TBA
Quest EXP: TBA
Quest Drop: TBA
Quest Item Reward: TBA


Additional Features:

  • Game Commands

    Offline shop - start your private store/manufacture and exit the game
    .commands - shows the list of available commands
    .premium - shows the remaining time on premium service
    .autoloot - shows the remaining time on autoloot service
    .exp off - disables experience gain, SP accumulation is still possible
    .exp on - enables experience gain
    .exp - shows if experience is enabled or disabled
    /dwarvenmanufacture - allows you to set up your private crafting store
    /instancezone - shows the remaining time until player can enter kamaloka again
    /gmlist - shows the list of available GMs


  • Warsong NPC Trader who will exchange Skill Point Scrolls for Your Ancient Adena




Class Masters(1st,2nd,3rd)
Auto-learn own class skills
24+4 Buff Slots, 12 Dance and Song Slots
Shift+Click command available for usage. Provides monster information as well as loot, drop and spoil
GM-Shop (Info will be updated)
Buff Time 2 Hours
Alt+Click to remove buffs
Players are able to sell up to 12-15 Items at once at Private Store
Minimum Requirement to enter the Instances has been lowered from 9 people to 4 people
Weight limit has been removed from the game
Removed Class restriction for Dyes
Anti Catacomb farm - drop has been balanced to provide variety of Skill Point gaining options.
Anti Primeval Isle farm - drop has been balanced to provide variety of Skill Point gaining options.
Kamalokas
Hellbound lvl 11



As the project is developing, more features will be coming, gameplay will be improved and more variations will be available; topic will be updated.

Explanation:

This feature will present you a new world of Lineage II, long living server which will have close to retail, but still unusual & interesting gameplay. You will have full freedom to choice how to build your character, because unlimited amount of variations & possibilities are available. We have implemented variety of Skill Point obtaining options, in order to promote solo, as well as group play.

However, it is important to remember, that on this server dominance will be acquired by not the ones, who play 24/7, but by those, who know more about Lineage II World and can use this knowledge as advantage. Because of this feature, Warsong server will be suitable for every kind of players: for those who play in big clans, also those who love constant parties, and of course it will be suitable even for small group of friends who may be even more effective than entire clan if they have more knowledge & experience of World of Lineage II.

Lack of Skill Points will force Players to always make a choice when building own character. Additionally, it will push players to make profitable quests and search for information on the web about different methods of SP gaining in order to not just hunt monsters in traditional way.

Possibilities?

At Warsong.eu there are no limits, it is all about your imagination. You can be mage, tank, crafter, spoiler, or make a combination of 1-2 roles or more. There is no need for dual-boxing as you will be able to progress through the game and learn useful skills such as craft, spoil/sweep, buffs. You are building your character by playing at Warsong.eu.


The aim of the Administration is to provide You, Players, comfortable gameplay, exciting adventures & good time in the server, however, as the project is new and developing we do not want to make empty promises and state that game will be 100% bugless. However, we will do everything that Players could enjoy the game.

Website: ->
Forum :
->


Best regards,
Warsong.eu Administration

C

Error " Client must be update " ?

$
0
0
Error "Client must be update,PLEASE RESTART GAME"

In InvasionMMO Source .

Screen Shot Click Attachment Link !!

Screen_10112013_015831.jpg


r3dlog.txt

Code:

--- Log started at Tue Dec 10 01:43:02 2013

000000.181| Game Version: InvasionMMO v1.0  (build: Dec  9 2013 17:28:40) - final
000000.182| Available memory: 6143 MB
000000.210| r3dFS: version:December 9, 2013 11:16, 25617 files
000000.302| r3dFile: can't open local.ini
000000.302| Can't open file "local.ini"
000000.302| readGameOptionsFile: found INI at C:\Users\Kaninz\Documents\iPlayOG Entertainment\InvasionMMO\gameSettings.ini
000000.302| r3dFile: can't open local.ini
000000.302| Can't open file "local.ini"
000000.302| writeGameOptionsFile: Saving settings to C:\Users\Kaninz\Documents\iPlayOG Entertainment\InvasionMMO\gameSettings.ini
000000.306| readInputMap: found file at C:\Users\Kaninz\Documents\iPlayOG Entertainment\InvasionMMO\inputMap.xml
000000.306| writeInputMap: Saving settings to C:\Users\Kaninz\Documents\iPlayOG Entertainment\InvasionMMO\inputMap.xml
000000.306| userSettings: found file at C:\Users\Kaninz\Documents\iPlayOG Entertainment\InvasionMMO\userSettings.xml
000000.306| userSettings: Saving settings to C:\Users\Kaninz\Documents\iPlayOG Entertainment\InvasionMMO\userSettings.xml
000000.307| SOUND: initializing sound system
000000.327| SOUND: '1' sound drivers found
000000.327| SOUND: sound caps = 0xF8, speakermode= 2
000000.327| SOUND: sound driver 'Speakers (VIA High Definition Audio)'
000000.383| SOUND: sound system ready
000000.383| FMOD: LoadSoundEffects: Loading from Data\Sounds\Sounds.fev
000001.468| Input Devices enabled: Mouse, Keyboard
000001.512| VMEM As seen through DDRaw: 501
000001.512| VMEM As seen through WMI: 0
000001.512| Setting mode:  1600x900x32 Flags=0
000001.512| Could not initialize NVApi.
000001.512|
000001.512|  Adapter: ATI Radeon HD 5670
000001.512|  aticfx32.dll 8.17.10.1140
000001.512|  Monitor: \\.\DISPLAY1 (1600x900)
000001.542|  r3dRenderLayer::SetMode(x=1600,y=900,bpp=32,windowed=0,hz=60)
000001.542|  Creating d3d device
000001.668|  GPU supports D3DQUERYTYPE_TIMESTAMP
000001.668|  GPU supports D3DQUERYTYPE_TIMESTAMPFREQ
000001.668|  D3D hack support = NullRT: 1, hwPCF: 1, IntZ: 1, ResZ: 1
000001.668|  We have 3306 MB texture memory
000001.670|  r3dFont: Creating Verdana 10pt
000001.670|  r3dFont: Finished creating Verdana 10pt
000001.671| Loading shaders...
000002.074| Finished loading shaders (0.403344 sec)!
000002.151| r3dFont: Creating Tahoma 12pt
000002.152| r3dFont: Finished creating Tahoma 12pt
000002.152| r3dFont: Creating Verdana 10pt
000002.152| r3dFont: Finished creating Verdana 10pt
000002.272| Creating render targets
000002.274| r3dFont: Creating Verdana 8pt
000002.275| r3dFont: Finished creating Verdana 8pt
000002.281| Loaded 14 of 14 grass settings locations from the glist file
000002.282| Loaded 14 grass settings files
000004.041| SetHomeDir: Levels\WZ_FrontEndLighting
000004.041| We have 3154 MB texture memory
000004.321| r3dFile: can't open Levels\WZ_FrontEndLighting/wind.cfg
000004.321| Loading 'Levels\WZ_FrontEndLighting/LevelSettings.xml'
000004.325| r3dFile: can't open data/shaders/texture/cclut3d/cameradrone.dds
000004.655| Unloaded 0.0 MB STATIC decal textures
000004.655| Unloaded 0.0 MB DYNAMIC decal textures
000004.655| Loading decal library Data\Decals\library.xml.
000004.656| Loading decal library Levels\WZ_FrontEndLighting\decals.xml.
000004.656| Loaded 0.0 MB STATIC decal textures
000004.690| Loaded 0.8 MB DYNAMIC decal textures
000004.691| LoadLevel_MatLibs...
000004.691| LoadLevel_Objects...
000006.142| LoadGrassLib()...
000006.605| Warning: couldn't find grass settings 'BM_Grass_Far.xml'
000006.606| Warning: couldn't find grass settings 'BM_Grass_Med.xml'
000006.606| Warning: couldn't find grass settings 'BM_Grass_Near.xml'
000006.610| g_pGrassMap->Load...
000006.613| LoadLevel_MatLibs...
000006.613| Building skeleton cache..000006.647| Building obstacles cache..000006.647| done.000006.647| Loading 'Levels\WZ_FrontEndLighting\collections\collections.xml'
000006.647| r3dFile: can't open Levels\WZ_FrontEndLighting\collections\elements.bin
000006.647| COLLECTIONS: Could not open 'Levels\WZ_FrontEndLighting\collections\elements.bin'
000006.647| World loaded
000006.647| Total load time: 2.34
000008.589| r3d: device is lost
000009.328| Acquired base profile data for 5.317733
000009.955| r3dFile: can't open data/grass/bm_grass_regular_d.dds
000009.956| r3dFile: can't open data/grass/bm_grass_variation_d.dds
000009.956| r3dFile: can't open data/grass/bm_blooming_sally_lod_d.dds
000009.957| r3dFile: can't open data/grass/bm_camomile_lod_d.dds
000009.958| r3dFile: can't open data/grass/bm_fern_d.dds
000062.832| r3dapp: SysCmd: f120
000062.871| d3d: starting to reset device
000062.872| released
000063.124| reseted
000063.162| restored (1). reset ok
000065.605| r3dNetwork: Creating client
000065.629|  IP: 192.168.1.42
000065.767| r3dNetwork: external ip: 27.145.77.248:52687
000065.767| connected to master server peer00
000065.802| Wrong client version. Please get update
000065.837| disconnected from master server
000074.100| r3d: device is lost
000084.563| r3dapp: SysCmd: f120
000084.599| d3d: starting to reset device
000084.613| released
000084.801| reseted
000084.838| restored (2). reset ok
000086.331| r3d: device is lost
000093.265| r3dapp: SysCmd: f120
000093.300| d3d: starting to reset device
000093.319| released
000093.471| reseted
000093.506| restored (3). reset ok
000094.800| r3d: device is lost
000101.314| r3dapp: SysCmd: f120
000101.349| d3d: starting to reset device
000101.362| released
000101.506| reseted
000101.544| restored (4). reset ok
000104.188| r3d: device is lost
000110.836| r3dapp: SysCmd: f120
000110.873| d3d: starting to reset device
000110.886| released
000111.061| reseted
000111.102| restored (5). reset ok
000114.815| obj_Zombie::FreePhysSkeletonCache:000114.815| done in 0.00 seconds
000114.816| r3dNetwork: Deinitialize
000114.885| obj_Zombie::FreePhysSkeletonCache:000114.885| done in 0.00 seconds
000114.891| Deleting render targets
000114.900|
000114.937| WARNING: pd3ddev have 10 reference counts


What do you think would help me?

Thanks.

[Help] Bonus Effect

$
0
0
How can i make Bonus Effect like Palmas Set or Counsil Set
What files i need to edit in Server and client side

Thank you
223

Evil GunZ

$
0
0
Hey Guys !

Want a nice 1.5 server to play ? Evil GunZ Is the best of the best!

- Exclusive items
- Nice Jogability
- Good Staff
- Ant Lead !
- Fantastic Events
- EXCLUSIVE MISSIONS !

Don't Lose your time ! Register and Download !

EvilGamerZ | Ultimate Gaming Network

[Help] Cash timer.

$
0
0
Hello RZ.

I want to know how i can do so VIP get's more pixels, and credits every time, than the normal users,

Like this

Every 15 mins gets normal users 30 pixels, while the VIP users gets 50 pixels every 15 mins.

Please help me.:

How to change stamina value ?

[Help] 2 question ^^

$
0
0
Somebody can share old ForceCalibur models?:) And how add x-mas tree in bloody ice?Help Newbie:blush:

Error !!!warning!!! invalid StartGame request, slot 0 already used

$
0
0
000000.001| r3dNetwork: Creating client
000000.145| IP: 23.92.86.8
000000.148| Connecting to master server at 127.0.0.1:34000
000000.148| r3dNetwork: connecting to 127.0.0.1:34000
000000.148| waiting: connecting, 20.0 sec left
000000.177| r3dNetwork: external ip: 127.0.0.1:62821
000000.177| Supervisor: Connected to master as peer 0
000000.177| waiting: wait for register, 10.0 sec left
000000.209| registered, id: 1
000000.209| LogUploader is disabled
000005.427| StartGame c7000003aa3431 slot:0, users:50, id:00010100, creatorID:0
000005.429| CreateProcess: "WZ_GameServer.exe" "65792 34010 0" "2 50 0 199 1" "127.0.0.1" "RVZJTFo=" "0"
000035.973| StartGame c7000003aa344f slot:1, users:50, id:00010201, creatorID:0
000035.974| CreateProcess: "WZ_GameServer.exe" "66049 34011 0" "2 50 0 199 1" "127.0.0.1" "RVZJTFo=" "0"
000066.583| !!!warning!!! invalid StartGame request, slot 0 already used
000066.584| StartGame c7000003aa346e slot:0, users:50, id:00010300, creatorID:0
000066.584| CreateProcess: "WZ_GameServer.exe" "66304 34010 0" "2 50 0 199 1" "127.0.0.1" "RVZJTFo=" "0"
000076.774| Control-c ...
000076.774| terminating game [00010300]
000076.774| !!!! unable to terminate game, err: 5
000076.774| terminating game [00010201]
000076.774| !!!! unable to terminate game, err: 5




Help ?

[Help] Adding Items To NPC

$
0
0
hey every one.
today am requesting help to add items to npc
i searched for tut and i found one but it wasn't related to my client at all
if someone would tell me how to add items to npc
ill be so gradful
1- am using nation repack
2- its koem v2
if someone would add me on skype to help mine is shiref.adil1




peace.
Viewing all 26436 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>