|
You last visited: Today at 13:35
Advertisement
[REQ]SSE Regpage with options.
Discussion on [REQ]SSE Regpage with options. within the SRO Private Server forum part of the Silkroad Online category.
07/31/2010, 15:44
|
#16
|
elite*gold: 0
Join Date: Jun 2009
Posts: 3,448
Received Thanks: 2,330
|
vorosmihaly, this line is written wrong :
Quote:
|
$fh = fopen($file, 'w')or die(can't open the file);
|
|
|
|
07/31/2010, 15:45
|
#17
|
elite*gold: 0
Join Date: Jun 2009
Posts: 3,448
Received Thanks: 2,330
|
Quote:
Originally Posted by LastThief
what do u mean do u mean when u create char u automatically get 110 mastery if yes then its impossible if no then manual edit FTw no one can reach more than lvl 90 cause they only get 1 exp
|
Okay, then I need a script, when I register a char, choose username, and char is automaticaly 110lvl, and 110 mastery ... -.-
|
|
|
07/31/2010, 15:56
|
#18
|
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
|
Quote:
Originally Posted by LastThief
what do u mean do u mean when u create char u automatically get 110 mastery if yes then its impossible if no then manual edit FTw no one can reach more than lvl 90 cause they only get 1 exp
|
its possible. just need to add a line to $data = "[account]
password=$password
[Data]
Name=[GM]n00b
Level=110
etc....";
so it will write the char datas too.
Quote:
Originally Posted by dimkacool
vorosmihaly, this line is written wrong :
|
no,there's nothing problem I think..
edit: modify the 'w' to 'a'
and it should be good
|
|
|
07/31/2010, 16:11
|
#19
|
elite*gold: 0
Join Date: Jun 2009
Posts: 3,448
Received Thanks: 2,330
|
Quote:
Originally Posted by vorosmihaly
no,there's nothing problem I think..
edit: modify the 'w' to 'a'
and it should be good
|
Still same.
Here is my script :
<?php
$username = $_POST['username'];
$password = $_POST['password'];
$file = "$username.ini";
$fh = fopen($file, 'a')or die(can't open the file);
$data = "[account]
password=$password"
[Data]
name=[GM]Test
level=110
Chartype=1907
XSection=168
YSection=97
XPos=6436
YPos=1123
ZPos=0
Skillpoints=1
AttributePoints=0
Expirience=0
Race=0
GameMaster=True
Hp=9999999
Mp=9999999
ActualHp=200
ActualMp=200
MaxPhyAttack=21
MaxMagAttack=33
MinPhyAttack=5
MinMagAttack=5
CharGold=20000
ReturnPoint=1
PhisicalDefence=12
MagicDefence=19
HitRatio=35
ParryRatio=18
Gender=1
volume=34
strength=20
intelligence=20
BerserkBar=4
WalkSpeed=16
RunSpeed=50
SilksAmount=0
BonusSilks=0
Mastery[1]=110
Mastery[2]=110
Mastery[3]=110
Mastery[4]=110
Mastery[5]=110
Mastery[6]=110
Mastery[7]=0
SkillsAmount=0
AccID=F49E0900
SkillList(1)=
[item1]
type=CH
amount=1
ID=3643
plusvalue=0
durability=48
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=1
Race=0
PhyDef=2
MagDef=4
ParryRatio=5
Block=0
Critical=0
AttackRatio=0
[item4]
type=CH
amount=1
ID=3644
plusvalue=0
durability=48
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=1
Race=0
PhyDef=2
MagDef=4
ParryRatio=4
Block=0
Critical=0
AttackRatio=0
[item5]
type=CH
amount=1
ID=3645
plusvalue=0
durability=48
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=1
Race=0
PhyDef=2
MagDef=3
ParryRatio=4
Block=0
Critical=0
AttackRatio=0
[item6]
type=CH
amount=1
ID=3632
plusvalue=0
durability=76
phyreinforce=0
magreinforce=0
phyattack=16
magattack=28
level=1
Gender=2
Race=0
PhyDef=0
MagDef=0
ParryRatio=0
Block=0
Critical=15
AttackRatio=30
[item7]
type=CH
amount=1
ID=251
plusvalue=0
durability=56
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=2
Race=0
PhyDef=2
MagDef=3
ParryRatio=0
Block=10
Critical=0
AttackRatio=0
[item14]
type=ETC
amount=10
ID=3851
plusvalue=0
durability=0
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=0
Gender=2
Race=3
PhyDef=0
MagDef=0
ParryRatio=0
Block=0
Critical=0
AttackRatio=0
[item181Storage]
amount=0
fwrite = ($fh, $data);
fclose($fh);
?>
the html form:
<html>
<body>
<form action="reg.php">
<input type="text" name="username">
<input type="password" name="password">
<input type="submit" value="Submit">
</form>
</body>
</html>
|
|
|
07/31/2010, 16:26
|
#20
|
elite*gold: 0
Join Date: Nov 2007
Posts: 959
Received Thanks: 602
|
Quote:
Originally Posted by dimkacool
Still same.
Here is my script :
<?php
$username = $_POST['username'];
$password = $_POST['password'];
$file = "$username.ini";
$fh = fopen($file, 'a')or die(can't open the file);
$data = "[account]
password=$password"
[Data]
name=[GM]Test
level=110
Chartype=1907
XSection=168
YSection=97
XPos=6436
YPos=1123
ZPos=0
Skillpoints=1
AttributePoints=0
Expirience=0
Race=0
GameMaster=True
Hp=9999999
Mp=9999999
ActualHp=200
ActualMp=200
MaxPhyAttack=21
MaxMagAttack=33
MinPhyAttack=5
MinMagAttack=5
CharGold=20000
ReturnPoint=1
PhisicalDefence=12
MagicDefence=19
HitRatio=35
ParryRatio=18
Gender=1
volume=34
strength=20
intelligence=20
BerserkBar=4
WalkSpeed=16
RunSpeed=50
SilksAmount=0
BonusSilks=0
Mastery[1]=110
Mastery[2]=110
Mastery[3]=110
Mastery[4]=110
Mastery[5]=110
Mastery[6]=110
Mastery[7]=0
SkillsAmount=0
AccID=F49E0900
SkillList(1)=
[item1]
type=CH
amount=1
ID=3643
plusvalue=0
durability=48
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=1
Race=0
PhyDef=2
MagDef=4
ParryRatio=5
Block=0
Critical=0
AttackRatio=0
[item4]
type=CH
amount=1
ID=3644
plusvalue=0
durability=48
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=1
Race=0
PhyDef=2
MagDef=4
ParryRatio=4
Block=0
Critical=0
AttackRatio=0
[item5]
type=CH
amount=1
ID=3645
plusvalue=0
durability=48
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=1
Race=0
PhyDef=2
MagDef=3
ParryRatio=4
Block=0
Critical=0
AttackRatio=0
[item6]
type=CH
amount=1
ID=3632
plusvalue=0
durability=76
phyreinforce=0
magreinforce=0
phyattack=16
magattack=28
level=1
Gender=2
Race=0
PhyDef=0
MagDef=0
ParryRatio=0
Block=0
Critical=15
AttackRatio=30
[item7]
type=CH
amount=1
ID=251
plusvalue=0
durability=56
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=2
Race=0
PhyDef=2
MagDef=3
ParryRatio=0
Block=10
Critical=0
AttackRatio=0
[item14]
type=ETC
amount=10
ID=3851
plusvalue=0
durability=0
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=0
Gender=2
Race=3
PhyDef=0
MagDef=0
ParryRatio=0
Block=0
Critical=0
AttackRatio=0
[item181Storage]
amount=0
fwrite = ($fh, $data);
fclose($fh);
?>
the html form:
<html>
<body>
<form action="reg.php">
<input type="text" name="username">
<input type="password" name="password">
<input type="submit" value="Submit">
</form>
</body>
</html>
|
<?php
$username = $_POST['username'];
$password = $_POST['password'];
$file = "$username.ini";
$fh = fopen($file, 'a')or die(can't open the file);
$data = "[account]
password=$password
[Data]
name=[GM]Test
level=110
Chartype=1907
XSection=168
YSection=97
XPos=6436
YPos=1123
ZPos=0
Skillpoints=1
AttributePoints=0
Expirience=0
Race=0
GameMaster=True
Hp=9999999
Mp=9999999
ActualHp=200
ActualMp=200
MaxPhyAttack=21
MaxMagAttack=33
MinPhyAttack=5
MinMagAttack=5
CharGold=20000
ReturnPoint=1
PhisicalDefence=12
MagicDefence=19
HitRatio=35
ParryRatio=18
Gender=1
volume=34
strength=20
intelligence=20
BerserkBar=4
WalkSpeed=16
RunSpeed=50
SilksAmount=0
BonusSilks=0
Mastery[1]=110
Mastery[2]=110
Mastery[3]=110
Mastery[4]=110
Mastery[5]=110
Mastery[6]=110
Mastery[7]=0
SkillsAmount=0
AccID=F49E0900
SkillList(1)=
[item1]
type=CH
amount=1
ID=3643
plusvalue=0
durability=48
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=1
Race=0
PhyDef=2
MagDef=4
ParryRatio=5
Block=0
Critical=0
AttackRatio=0
[item4]
type=CH
amount=1
ID=3644
plusvalue=0
durability=48
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=1
Race=0
PhyDef=2
MagDef=4
ParryRatio=4
Block=0
Critical=0
AttackRatio=0
[item5]
type=CH
amount=1
ID=3645
plusvalue=0
durability=48
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=1
Race=0
PhyDef=2
MagDef=3
ParryRatio=4
Block=0
Critical=0
AttackRatio=0
[item6]
type=CH
amount=1
ID=3632
plusvalue=0
durability=76
phyreinforce=0
magreinforce=0
phyattack=16
magattack=28
level=1
Gender=2
Race=0
PhyDef=0
MagDef=0
ParryRatio=0
Block=0
Critical=15
AttackRatio=30
[item7]
type=CH
amount=1
ID=251
plusvalue=0
durability=56
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=1
Gender=2
Race=0
PhyDef=2
MagDef=3
ParryRatio=0
Block=10
Critical=0
AttackRatio=0
[item14]
type=ETC
amount=10
ID=3851
plusvalue=0
durability=0
phyreinforce=0
magreinforce=0
phyattack=0
magattack=0
level=0
Gender=2
Race=3
PhyDef=0
MagDef=0
ParryRatio=0
Block=0
Critical=0
AttackRatio=0
[item181Storage]
amount=0";
fwrite = ($fh, $data);
fclose($fh);
?>
the html form:
<html>
<body>
<form action="reg.php">
<input type="text" name="username">
<input type="password" name="password">
<input type="submit" value="Submit">
</form>
</body>
</html>
copy&paste it,it should work now.
|
|
|
07/31/2010, 16:46
|
#21
|
elite*gold: 0
Join Date: Jun 2009
Posts: 3,448
Received Thanks: 2,330
|
Mmmm, nope 
Still something wrong in line 5.
|
|
|
Similar Threads
|
I need REGpage HTML
07/07/2010 - SRO Private Server - 0 Replies
i need Reg Page Code For Page HTML
|
RegPage
01/11/2010 - Metin2 Private Server - 12 Replies
hallo com,
ich suche die reg page für meinen metin2 server , aber es gibt ein problem , viele haben den link zum download hier hochgeladen aber bei rapidshare und man kann seit 2 tagen bei rapidshare nix downloaden weil alles überlastet ist und da man einen premium account braucht deshalb wollt ich euch fragen ob jemand es woanders mal hochladen kann der jenige der es macht kriegt auch einen thanks , woanders hochladen oder einen link zum download geben bitte !!!
MFG
|
Need help with creating regpage
01/21/2009 - Dekaron Private Server - 5 Replies
Problem Solved. Thanks to all who offered help.
Mod can delete this thread now.
|
All times are GMT +1. The time now is 13:36.
|
|