elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   SRO Coding Corner (https://www.elitepvpers.com/forum/sro-coding-corner/)
-   -   The Arcane Troubleshooting Thread (https://www.elitepvpers.com/forum/sro-coding-corner/807716-arcane-troubleshooting-thread.html)

rofman2008 11/10/2010 19:33

Damn cant Creat Char


Quote:

[11/10/2010 10:20:16 AM] Object reference not set to an instance of an object. -> at Framework.MsSQL.GetDataInt(String sql, String column)
at Game.Systems.CharacterCreate()

Dr.Abdelfattah 11/10/2010 22:21

Quote:

Originally Posted by rofman2008 (Post 7625471)
Damn cant Creat Char

u use the last db?

lucas7474 11/11/2010 03:23

can anybody tell me why when y run gameserver.exe it just loads at shop data and stops?
[Only registered and activated users can see links. Click Here To Register...]

3lyka 11/11/2010 08:47

Use the last version of server ...how download check on guide how use svn

Dr.Abdelfattah 11/11/2010 11:50

Quote:

Originally Posted by lucas7474 (Post 7629940)
can anybody tell me why when y run gameserver.exe it just loads at shop data and stops?
[Only registered and activated users can see links. Click Here To Register...]

download the last rev. from here
[Only registered and activated users can see links. Click Here To Register...]

blackout069 11/11/2010 13:11

Why i cant use the GM commands:
/liename testtest [=> char crash if i use the command]
/clearinven [=> nothing happens, in the config i made a 1 for enable]
The welcome message dont appear if i join... what is hat ?

coderska 11/11/2010 13:54

Quote:

Originally Posted by blackout069 (Post 7631719)
Why i cant use the GM commands:
/liename testtest [=> char crash if i use the command]
/clearinven [=> nothing happens, in the config i made a 1 for enable]
The welcome message dont appear if i join... what is hat ?

You are using old version.

Haxor 11/11/2010 14:00

Guys is there any way to register
i tried this and it dont work
[Only registered and activated users can see links. Click Here To Register...]


My problem is
Quote:

I done everything and i start apache

But when i go to 127.0.0.1 it appear this , Not the register page
[Only registered and activated users can see links. Click Here To Register...]


PLEASE HELP

I need to register in another way
Please help

Burton_1993 11/11/2010 14:03

Quote:

Originally Posted by saif1999 (Post 7632210)
Guys is there any way to register
i tried this and it dont work
[Only registered and activated users can see links. Click Here To Register...]


My problem is



I need to register in another way
Please help

Delete your xampp folder in HTDOCS!

blackout069 11/11/2010 14:43

Quote:

Originally Posted by coderska (Post 7632142)
You are using old version.

i use the new version but it dont work... rev70

3lyka 11/11/2010 15:01

Quote:

Originally Posted by saif1999 (Post 7632830)
I get now fatal error on register page

maybe stop spam and use guides or even google?

Haxor 11/11/2010 15:06

Quote:

Originally Posted by 3lyka (Post 7632949)
maybe stop spam and use guides or even google?

Which guides
im using the guide in another thread ,And its with no pictures
And it need me time to understand how to do it
And i still get errors


I will try to search in google and im sure 60% that google will not help me

3lyka 11/11/2010 15:09

Quote:

Originally Posted by saif1999 (Post 7633021)
Which guides
im using the guide in another thread ,And its with no pictures
And it need me time to understand how to do it
And i still get errors


I will try to search in google and im sure 60% that google will not help me

And im sure 100% it will help

Why are people so lazy?

[Only registered and activated users can see links. Click Here To Register...]

Haxor 11/11/2010 15:22

Quote:

Originally Posted by 3lyka (Post 7633052)
And im sure 100% it will help

Why are people so lazy?

[Only registered and activated users can see links. Click Here To Register...]

I dont understand anything in php
i just readed ways and i changed a thing on php.ini to C:\xampplite\php\ext

But my problem still not fixed
pff

ÑõÑ_Ŝŧóp 11/13/2010 08:26

some1 give me elixir code please?

CaPpA 11/13/2010 08:44

ELEXIRS

/MAKEITEM ITEM_EVENT_RENT_ARCHEMY_REINFORCE_RECIPE_ACCESSARY _B 0 <- Accessory Elexir
/MAKEITEM ITEM_EVENT_RENT_ARCHEMY_REINFORCE_RECIPE_ARMOR_B 0 <- Protector Elexir
/MAKEITEM ITEM_EVENT_RENT_ARCHEMY_REINFORCE_RECIPE_SHIELD_B 0 <- Shield Elexir
/MAKEITEM ITEM_EVENT_RENT_ARCHEMY_REINFORCE_RECIPE_WEAPON_B 0 <- Weapon Elexir

Avetis 11/13/2010 13:09

Euro Works ? After i press START with euro char i got crash.

Burton_1993 11/13/2010 13:16

Quote:

Originally Posted by Avetis (Post 7659149)
Euro Works ? After i press START with euro char i got crash.

Use latest revision eu working but skills very bugy atm

ÑõÑ_Ŝŧóp 11/13/2010 15:04

Quote:

Originally Posted by Burton_1993 (Post 7659307)
Use latest revision eu working but skills very bugy atm

wut !! i have last rev and my client crash when i select the char and click start :S
my rev is 78 !

LastThief 11/13/2010 16:07

non i can help you over team viewer if you need

tommy14 11/13/2010 23:34

I get this error when loading character selection screen, and trying to create a character.

Code:

[11/13/2010 2:22:56 PM] Object reference not set to an instance of an object. ->    at Game.Private.Packet.CharacterListing(String name)
  at Game.Systems.CharacterListing()
[11/13/2010 2:24:24 PM] Object reference not set to an instance of an object. ->    at Framework.MsSQL.GetData(String sql, String column)
  at Game.Systems.CharacterCheck(String name)
[11/13/2010 2:24:25 PM] Object reference not set to an instance of an object. ->    at Framework.MsSQL.GetDataInt(String sql, String column)
  at Game.Systems.CharacterCreate()

Thanks,
TsterT

snkey31 11/14/2010 00:46

want to test my server??

user = test
passwrd = test

Make a chinese char

ip = 76.31.255.120

Buy a global and say your on

ahmed4ever2u 11/14/2010 11:18

guys is there any one wanna help me too setup rev 78 with team viwer?

ÑõÑ_Ŝŧóp 11/14/2010 13:43

hey !
I wanna my friend join with me so i made hamachi room and he joined and i setup the ip in gameserver- loginserver then he gets C9 and i login normal :S
any solve? :)

madutz1 11/14/2010 14:45

Project closed or what ?
Forum its OFF : [Only registered and activated users can see links. Click Here To Register...]

3lyka 11/14/2010 14:57

Quote:

Originally Posted by madutz1 (Post 7678697)
Project closed or what ?
Forum its OFF : [Only registered and activated users can see links. Click Here To Register...]

now look at the first message on this thread [Only registered and activated users can see links. Click Here To Register...]

ahmed4ever2u 11/14/2010 20:32

Quote:

Originally Posted by 3lyka (Post 7678904)
now look at the first message on this thread [Only registered and activated users can see links. Click Here To Register...]

alright would u like or do u have free time too help me too make rev 78 work?

i can't start it i have downloaded every thing in svn and i cant match the cofign and start the server :D

killerlk 11/15/2010 03:55

Quote:

Originally Posted by snkey31 (Post 7670853)
want to test my server??

user = test
passwrd = test

Make a chinese char

ip = 76.31.255.120

Buy a global and say your on

I think one of your ports aren't forwarded or something cause i tried logging in but i get the c9 error.

Monaiz 11/15/2010 04:38

killerlk its all fixed now

iTzKingZ 11/16/2010 23:31

what happend here

[Only registered and activated users can see links. Click Here To Register...]

tommy14 11/17/2010 00:54

I'm having some problems with my register page. I tried recoding it myself a bit, but I had the same problem with those codes too.

Index.php
Spoiler:
Code:

<?php include("Register.php"); ?>
<style type="text/css">
<!--
body,td,th {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11px;
        color: #FFFFFF;
}
body {
        background-color: #000000;
}
-->
</style>
<html>
        <form action='Register.php' method='POST'>
                <center>
                        <table width="500">
                                <tr>
                                        <td bgcolor="#333333">Username:</td>
                                        <td bgcolor="#333333">
                                                <input type='text' name='accname' maxlength='12'>
                                        </td>
                                </tr>
                                <tr>
                                        <td bgcolor="#666666">Password:</td>
                                        <td bgcolor="#666666">
                                                <input type='password' name='accpass1' maxlength='12'>
                                        </td>
                                </tr>
                                <tr>
                                        <td bgcolor="#333333">Restate Password:</td>
                                        <td bgcolor="#333333">
                                                <input type='password' name='accpass2' maxlength='12'>
                                        </td>
                                </tr>
                                <tr>
                                        <td align='center' bgcolor="#666666">
                                        </td>
                                        <td align='left' bgcolor="#666666">
                                                <input type='hidden' name='activ' value='1' />
                                        <input name="submit" type='submit' value='Register' />
                                        </td>
                                </tr>
                        </table>
                </center>
        </form>
</html>
     
<?php
}
?>


Register.php
Spoiler:
Code:

<?php include("Index.php"); ?>
  <style type="text/css">
<!--
body,td,th {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11px;
        color: #FFFFFF;
}
body {
        background-color: #000000;
}
-->
</style>
<?php
$mssql = array(
                'host' = "Censored"
                'user' = "Censored"
                'pass' = "Censored"
        );

function anti_injection($sql) {
  $sql                        = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql);
  $sql                        = trim($sql);
  $sql                        = strip_tags($sql);
  $sql                        = addslashes($sql);
  return $sql;
}

if($_POST['activ'] == '1') {

                $accname                = anti_injection($_POST['accname']);
                $accpass1              = anti_injection($_POST['accpass1']);
                $accpass2              = anti_injection($_POST['accpass2']);
                $con                    = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
                $result1                = mssql_query("SELECT * FROM Censored.dbo.users WHERE id = '".$accname."'",$con);
                $row1                  = mssql_num_rows($result1);

                if(empty($accname)||empty($accpass1)||empty($accpass2){
                  echo "Please fill out all the fields!";

                }
                else {

                $accpass                = md5($accpass1);
                $con                    = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
                                                  mssql_query("INSERT INTO Censored.dbo.users (
                                                                                                                                        id,
                                                                                                                                        password,
                                                                                                                                        online,
                                                                                                                                        unknown,
                                                                                                                                        unknown2,
                                                                                                                                        silk,
                                                                                                                                        gold
                                                                                                                                )
                                                                                                                VALUES  (
                                                                                                                                        '".$accname."',
                                                                                                                                        '".$accpass."',
                                                                                                                                        '0',
                                                                                                                                        '0',
                                                                                                                                        '0',
                                                                                                                                        '0',
                                                                                                                                        '0'
                                                                                                                                )",$con);

                }

}


else {

        $con                    = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
        $result1                = mssql_query("SELECT * FROM Censored.dbo.users",$con);
        $row1                  = mssql_num_rows($result1);
?>


Echoes don't work, and it doesn't register.

rofman2008 11/17/2010 16:03

Hot To make Server Work witho out Hamachi?~!

TigerRoar 11/17/2010 18:42

im having truble with the reg page, i have error in line 9, i have done lots of guides,someone can help me via team viewer?

thx

ahmed4ever2u 11/17/2010 21:16

Quote:

Originally Posted by rofman2008 (Post 7720531)
Hot To make Server Work witho out Hamachi?~!

ftp server (recommended)
or port in yr router

deli50 11/18/2010 08:11

[Only registered and activated users can see links. Click Here To Register...]

Need Help :((

Haxor 11/18/2010 11:57

Quote:

Originally Posted by deli50 (Post 7729471)
[Only registered and activated users can see links. Click Here To Register...]

Need Help :((

U should put same password that you put in sa user

not in 1 , 1234 and another 1 , 123456

tjmarine 11/18/2010 14:02

where download the loader for the game???? i have all on i dont have the loader what loader use? where download the loader?

rofman2008 11/18/2010 14:18

Well...

That happened when I Chrated an Eu Char In Rev93

[Only registered and activated users can see links. Click Here To Register...]

tjmarine 11/18/2010 15:08

i always get C5 error when i try to connect= Solution= With out look ur "user" table i can tell u ur password is not md5


so change it to 21232F297A57A5A743894A0E4A801FC3 its mean "admin"

but how this is done and where exactly? is a mess ... taking encuenta there are people who is 33 and has no idea of sql, please help!

Haxor 11/18/2010 15:16

Quote:

Originally Posted by tjmarine (Post 7732783)
i always get C5 error when i try to connect= Solution= With out look ur "user" table i can tell u ur password is not md5


so change it to 21232F297A57A5A743894A0E4A801FC3 its mean "admin"

but how this is done and where exactly? is a mess ... taking encuenta there are people who is 33 and has no idea of sql, please help!

this is dbo.users table
you do open table

then Id: test
Pw : 21232F297A57A5A743894A0E4A801FC3


All times are GMT +2. The time now is 03:38.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.