Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 15:37

  • Please register to post and access all features, it's quick, easy and FREE!

 

varaibles in the semi random pet taming success

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 15
Received Thanks: 0
varaibles in the semi random pet taming success

I need to know how the original game decides when the taming is to fail
and when it should succeed the code that control this and make it look random
i have to search for this but when i didn't get straight answer
i tried and still trying to make my own pserver and try to obtain the formula
from the pserver (assuming that it's the same rate as the official server )
anyone have any idea how i can know which variables controls and determine the taming success or Fail or
what i Should know to know that Or
what i need to do or learn to be able to do that
Im pretty determinant from reading about this this far i guess the answer is to reverse engineering the game exe client file and get that formula But since that has been done i wonder if the extracted files from the official setup have the same code that controls pet tame success as the original game that's why i am trying to make my own pserver but it turned out to take much time and foggy guides don't help either
and the Same goes for the card integration(same cards type mixed together to make more lvl card )
Any ideas Suggestions would be much appreciated !!




OROCHIMARU99 is offline  
Old   #2
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,043
Received Thanks: 978
Why do you need to dig down into the code and SMPs

Just change the tame percentage per creature.

It is in the dbo.MonsterResource tables in Arcadia.

The SQL code you can use would look something like this...

Code:
Use Arcadia
-- Sala
UPDATE MonsterResource
SET taming_percentage = 0.250
WHERE monster_group = 3023
go
UPDATE MonsterResource
SET taming_exp_mod = 3.00
WHERE monster_group = 3023
go
UPDATE MonsterResource
SET taming_id = 1901
WHERE monster_group = 3023
go
-- Kenta
UPDATE MonsterResource
SET taming_percentage = 0.0200
WHERE monster_group = 5011
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 5011
go
UPDATE MonsterResource
SET taming_id = 1701
WHERE monster_group = 5011
go
-- Angel
UPDATE MonsterResource
SET taming_percentage = 0.0200
WHERE monster_group = 5021
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 5021
go
UPDATE MonsterResource
SET taming_id = 2001
WHERE monster_group = 5021
go
-- Wolf
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 103049
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 103049
go
UPDATE MonsterResource
SET taming_id = 2901
WHERE monster_group = 103049
go
-- windsong
UPDATE MonsterResource
SET taming_percentage = 0.0700
WHERE monster_group = 103022
go
UPDATE MonsterResource
SET taming_exp_mod = 3.00
WHERE monster_group = 103022
go
UPDATE MonsterResource
SET taming_id = 3301
WHERE monster_group = 103022
go
UPDATE MonsterResource
SET taming_percentage = 0.0700
WHERE monster_group = 103020
go
UPDATE MonsterResource
SET taming_exp_mod = 3.00
WHERE monster_group = 103020
go
UPDATE MonsterResource
SET taming_id = 3301
WHERE monster_group = 103020
go
-- eimus
UPDATE MonsterResource
SET taming_percentage = 0.0200
WHERE monster_group = 103091
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103091
go
UPDATE MonsterResource
SET taming_id = 3401
WHERE monster_group = 103091
go
UPDATE MonsterResource
SET taming_percentage = 0.0200
WHERE monster_group = 103092
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103092
go
UPDATE MonsterResource
SET taming_id = 3401
WHERE monster_group = 103092
go
-- octopus
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 103086
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 103086
go
UPDATE MonsterResource
SET taming_id = 3502
WHERE monster_group = 103086
go
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 103087
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 103087
go
UPDATE MonsterResource
SET taming_id = 3502
WHERE monster_group = 103087
go
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 103088
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 103088
go
UPDATE MonsterResource
SET taming_id = 3502
WHERE monster_group = 103088
go
-- Genie
UPDATE MonsterResource
SET taming_percentage = 0.0150
WHERE monster_group = 103106
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103106
go
UPDATE MonsterResource
SET taming_id = 3701
WHERE monster_group = 103106
go
UPDATE MonsterResource
SET taming_percentage = 0.0150
WHERE monster_group = 103107
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103107
go
UPDATE MonsterResource
SET taming_id = 3701
WHERE monster_group = 103107
go
UPDATE MonsterResource
SET taming_percentage = 0.0150
WHERE monster_group = 103108
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103108
go
UPDATE MonsterResource
SET taming_id = 3701
WHERE monster_group = 103108
go
-- ifrit
UPDATE MonsterResource
SET taming_percentage = 0.0150
WHERE monster_group = 103111
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103111
go
UPDATE MonsterResource
SET taming_id = 3801
WHERE monster_group = 103111
go
-- Unicorn
UPDATE MonsterResource
SET taming_percentage = 0.0700
WHERE monster_group = 103125
go
UPDATE MonsterResource
SET taming_exp_mod = 3.00
WHERE monster_group = 103125
go
UPDATE MonsterResource
SET taming_id = 3901
WHERE monster_group = 103125
go
-- Nightmare
UPDATE MonsterResource
SET taming_percentage = 0.0700
WHERE monster_group = 103125
go
UPDATE MonsterResource
SET taming_exp_mod = 3.00
WHERE monster_group = 103125
go
UPDATE MonsterResource
SET taming_id = 4001
WHERE monster_group = 103125
go
-- Blue Pixie
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 1052
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 1052
go
UPDATE MonsterResource
SET taming_id = 1021
WHERE monster_group = 1052
go
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 1053
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 1053
go
UPDATE MonsterResource
SET taming_id = 1021
WHERE monster_group = 1053
go
-- Skelly
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 1032
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 1032
go
UPDATE MonsterResource
SET taming_id = 2401
WHERE monster_group = 1032
go
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 1033
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 1033
go
UPDATE MonsterResource
SET taming_id = 2401
WHERE monster_group = 1033
go
-- other
UPDATE MonsterResource
SET taming_id = 3901
WHERE name_id = 83006
go
UPDATE MonsterResource
SET taming_id = 3901
WHERE name_id = 84005
go
UPDATE MonsterResource
SET taming_id = 3901
WHERE name_id = 85006
go
Use Arcadia
UPDATE MonsterResource
SET taming_id = 4001
WHERE name_id = 121002
go
UPDATE MonsterResource
SET taming_id = 4001
WHERE name_id = 120003
go
UPDATE MonsterResource
SET taming_id = 4001
WHERE name_id = 122001


ThunderNikk is offline  
Old   #3
 
elite*gold: 0
Join Date: Jul 2012
Posts: 15
Received Thanks: 0
Quote:
Originally Posted by thndr View Post
Why do you need to dig down into the code and SMPs

Just change the tame percentage per creature.

It is in the dbo.MonsterResource tables in Arcadia.

The SQL code you can use would look something like this...

Code:
Use Arcadia
-- Sala
UPDATE MonsterResource
SET taming_percentage = 0.250
WHERE monster_group = 3023
go
UPDATE MonsterResource
SET taming_exp_mod = 3.00
WHERE monster_group = 3023
go
UPDATE MonsterResource
SET taming_id = 1901
WHERE monster_group = 3023
go
-- Kenta
UPDATE MonsterResource
SET taming_percentage = 0.0200
WHERE monster_group = 5011
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 5011
go
UPDATE MonsterResource
SET taming_id = 1701
WHERE monster_group = 5011
go
-- Angel
UPDATE MonsterResource
SET taming_percentage = 0.0200
WHERE monster_group = 5021
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 5021
go
UPDATE MonsterResource
SET taming_id = 2001
WHERE monster_group = 5021
go
-- Wolf
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 103049
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 103049
go
UPDATE MonsterResource
SET taming_id = 2901
WHERE monster_group = 103049
go
-- windsong
UPDATE MonsterResource
SET taming_percentage = 0.0700
WHERE monster_group = 103022
go
UPDATE MonsterResource
SET taming_exp_mod = 3.00
WHERE monster_group = 103022
go
UPDATE MonsterResource
SET taming_id = 3301
WHERE monster_group = 103022
go
UPDATE MonsterResource
SET taming_percentage = 0.0700
WHERE monster_group = 103020
go
UPDATE MonsterResource
SET taming_exp_mod = 3.00
WHERE monster_group = 103020
go
UPDATE MonsterResource
SET taming_id = 3301
WHERE monster_group = 103020
go
-- eimus
UPDATE MonsterResource
SET taming_percentage = 0.0200
WHERE monster_group = 103091
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103091
go
UPDATE MonsterResource
SET taming_id = 3401
WHERE monster_group = 103091
go
UPDATE MonsterResource
SET taming_percentage = 0.0200
WHERE monster_group = 103092
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103092
go
UPDATE MonsterResource
SET taming_id = 3401
WHERE monster_group = 103092
go
-- octopus
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 103086
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 103086
go
UPDATE MonsterResource
SET taming_id = 3502
WHERE monster_group = 103086
go
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 103087
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 103087
go
UPDATE MonsterResource
SET taming_id = 3502
WHERE monster_group = 103087
go
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 103088
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 103088
go
UPDATE MonsterResource
SET taming_id = 3502
WHERE monster_group = 103088
go
-- Genie
UPDATE MonsterResource
SET taming_percentage = 0.0150
WHERE monster_group = 103106
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103106
go
UPDATE MonsterResource
SET taming_id = 3701
WHERE monster_group = 103106
go
UPDATE MonsterResource
SET taming_percentage = 0.0150
WHERE monster_group = 103107
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103107
go
UPDATE MonsterResource
SET taming_id = 3701
WHERE monster_group = 103107
go
UPDATE MonsterResource
SET taming_percentage = 0.0150
WHERE monster_group = 103108
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103108
go
UPDATE MonsterResource
SET taming_id = 3701
WHERE monster_group = 103108
go
-- ifrit
UPDATE MonsterResource
SET taming_percentage = 0.0150
WHERE monster_group = 103111
go
UPDATE MonsterResource
SET taming_exp_mod = 4.00
WHERE monster_group = 103111
go
UPDATE MonsterResource
SET taming_id = 3801
WHERE monster_group = 103111
go
-- Unicorn
UPDATE MonsterResource
SET taming_percentage = 0.0700
WHERE monster_group = 103125
go
UPDATE MonsterResource
SET taming_exp_mod = 3.00
WHERE monster_group = 103125
go
UPDATE MonsterResource
SET taming_id = 3901
WHERE monster_group = 103125
go
-- Nightmare
UPDATE MonsterResource
SET taming_percentage = 0.0700
WHERE monster_group = 103125
go
UPDATE MonsterResource
SET taming_exp_mod = 3.00
WHERE monster_group = 103125
go
UPDATE MonsterResource
SET taming_id = 4001
WHERE monster_group = 103125
go
-- Blue Pixie
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 1052
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 1052
go
UPDATE MonsterResource
SET taming_id = 1021
WHERE monster_group = 1052
go
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 1053
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 1053
go
UPDATE MonsterResource
SET taming_id = 1021
WHERE monster_group = 1053
go
-- Skelly
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 1032
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 1032
go
UPDATE MonsterResource
SET taming_id = 2401
WHERE monster_group = 1032
go
UPDATE MonsterResource
SET taming_percentage = 0.2500
WHERE monster_group = 1033
go
UPDATE MonsterResource
SET taming_exp_mod = 2.00
WHERE monster_group = 1033
go
UPDATE MonsterResource
SET taming_id = 2401
WHERE monster_group = 1033
go
-- other
UPDATE MonsterResource
SET taming_id = 3901
WHERE name_id = 83006
go
UPDATE MonsterResource
SET taming_id = 3901
WHERE name_id = 84005
go
UPDATE MonsterResource
SET taming_id = 3901
WHERE name_id = 85006
go
Use Arcadia
UPDATE MonsterResource
SET taming_id = 4001
WHERE name_id = 121002
go
UPDATE MonsterResource
SET taming_id = 4001
WHERE name_id = 120003
go
UPDATE MonsterResource
SET taming_id = 4001
WHERE name_id = 122001

Thanks for answering ^^
I need to know the original code that controls the pet taming success or Not
cauze i want to try write program using the same code the game used to
predict in game if the taming will succeed without trying it so i can tame any creature from the first try by knowing the variables that control the success
Do you have any idea how i can get that code ? ?
and how to accomplish my goal i mean what do i need to learn ? sql language and what ? ?
p . s : i almost didnt understand anything from your codes because i don't know sql ( if they are sql language )
im on my way to learn it
OROCHIMARU99 is offline  
Old   #4
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,043
Received Thanks: 978
Just change the taming percentage in the SQL script there to a higher number to increase the tame rate.

There is no need to recode the game.


ThunderNikk is offline  
Old   #5
 
elite*gold: 0
Join Date: Nov 2011
Posts: 104
Received Thanks: 11
From what I understand, you want to know how to predict when the game server's random number generator will generate a random number that will allow you to succeed a taming, requested by you/your game client.

You wont.

The way random number generators are constructed is known, the sequence of number they'll generate is also known once you know the algorithm and the input parameters. This is why they're call pseudo random number generators. The thing is, you or your game client do not know all those parameters, and where in the sequence the generation is.

To be able to control on the game client when you'll be able to succeed a taming would probably imply 1) the RNG used for taming is only used for that, 2) you know the RNG algorithm and input parameters 3) that you're alone on the server taming or you know when ppl try to tame stuff.
sadkingbilly is offline  
Old   #6
 
elite*gold: 0
Join Date: Jul 2012
Posts: 15
Received Thanks: 0
Quote:
Originally Posted by sadkingbilly View Post
From what I understand, you want to know how to predict when the game server's random number generator will generate a random number that will allow you to succeed a taming, requested by you/your game client.

You wont.

The way random number generators are constructed is known, the sequence of number they'll generate is also known once you know the algorithm and the input parameters. This is why they're call pseudo random number generators. The thing is, you or your game client do not know all those parameters, and where in the sequence the generation is.

To be able to control on the game client when you'll be able to succeed a taming would probably imply 1) the RNG used for taming is only used for that, 2) you know the RNG algorithm and input parameters 3) that you're alone on the server taming or you know when ppl try to tame stuff.
Thanks for replying
So i need to know the RNG algorithm and input parameters ,
1) u said not all of the parameters are in the game client how did u know that info ??
are you sure about it ? cuaze i think when constructing pserver the ratio of taming looks like the same rate at the original game ??

2) do you know or have any idea how i can get the algorithm and the parameters which is in the game client for tame success rate ??

3) your first and third statements i don't get them
1) the RNG used for taming is only used for that,
3) that you're alone on the server taming or you when ppl try to tame stuff,
why these thing should affect the rate that i would get from the input parameters and RNG algorithm ???
and if there is parameters that are only in the rappelz server i will try to get them by getting int their server no matter how or how long it will take !!!

also i don't get this part too
and where in the sequence the generation is??

could u explain a little bit or much would be preferable cauze i'm really new to these stuff
OROCHIMARU99 is offline  
Old   #7
 
elite*gold: 0
Join Date: Jun 2013
Posts: 45
Received Thanks: 31
Quote:
Originally Posted by OROCHIMARU99 View Post
Thanks for replying
So i need to know the RNG algorithm and input parameters ,
1) u said not all of the parameters are in the game client how did u know that info ??


No offense intended, but it's becoming pretty apparent you don't know much about Client <> Server communication.

Of-course the client itself doesn't calculate the chances of taming as that information is not stored in the client at all. My best guess (as none of us know 100% for certain -- captainherlockserver/sframe.exe's are c++ and nearly un-decompilable) is:

1 - you use tame
2 - client triggers server taming process
3 - server checks the monster target'd for taming chance variable
4 - variable is added to RNG routine

Code:
int tame_chance = db_tame_percentage;
Random random = new Random();
int randNum= random.Next(0, db_tame_percentage);

if (randNum > 0 & randNum < 11)
{
return 1;
}
else if(randNum > 34 & randNum < 55)
{
return 0;
}
5 - If RNG function returns a 1, monster tames; if he returns a 0 monster breaks.

the above is just a sample visual add to provide some context! (yes, yes: I know the example is C# not C++)


are you sure about it ? cuaze i think when constructing pserver the ratio of taming looks like the same rate at the original game ??

The "taming" rates are stored in dbo.MonsterResource for all p-servers and retail servers from them moment they became available.

2) do you know or have any idea how i can get the algorithm and the parameters which is in the game client for tame success rate ??

Again, this is not located in the game-client at all and if you really wanted to dig out the RNG for taming you would have to rebuild the game-server by reverse engineering current game-servers.
Hope I provided you with some much needed information.
TealSky is offline  
Old   #8
 
elite*gold: 0
Join Date: Nov 2011
Posts: 980
Received Thanks: 1,007
Quote:
Originally Posted by TealSky View Post
Hope I provided you with some much needed information.
i think the more smarter way would be :

Code:
Decimal tame_chance = db_tame_percentage;
Random random = new Random();
int randNum= random.Next(db_tame_percentage, 1);

if (randNum == 1)
{
return 1;
}
else
{
return 0;
}
Since we can Mod the taming (if we set to 1) to 100%, i think 1 is the highest value .
TheOnlyOneRaskim is offline  
Thanks
1 User
Old   #9
 
elite*gold: 0
Join Date: Nov 2011
Posts: 104
Received Thanks: 11
In any case, if you knew how to reverse engineer the server's executable, you'd know about how client/server apps work and how RNG works.

My advice: buy tamed pets and sell your empties.
sadkingbilly is offline  
Old   #10
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,570
Received Thanks: 1,154
Quote:
Originally Posted by OROCHIMARU99 View Post
Thanks for answering ^^
I need to know the original code that controls the pet taming success or Not
cauze i want to try write program using the same code the game used to
predict in game if the taming will succeed without trying it so i can tame any creature from the first try by knowing the variables that control the success
Do you have any idea how i can get that code ? ?
and how to accomplish my goal i mean what do i need to learn ? sql language and what ? ?
p . s : i almost didnt understand anything from your codes because i don't know sql ( if they are sql language )
im on my way to learn it
Do you try to develop a program that influences the taming system of the server from the clientside?
If you want to do something like that you will need a direct connection to the gameserver which should be impossible for a normal player.

The whole tamingprocess is serversided and not clientsided...means if you change any variables in the client perhaps every tame will look like a success BUT the server won't accept these values since he knows the original values and will override your modified values.

There is no way to exploit the taming system from client side...


c1ph3r is offline  
Thanks
1 User
Reply



« Previous Thread | Next Thread »

Similar Threads
[SALE] Random ISRO chars in random servers CHEAP, from 1$ to 3$
Hello, I want to sell all those chars very cheap for PayPal money from 1$ to 3$ , because I need some money to buy usb joystick to play FIFA on pc ^^...
4 Replies - Silkroad Online Trading
Creature Taming Trick 100% success
Start new char. don't you ever tame any pet UNTIL u do Witch Quests and hit lvl 90. Once u hit lvl 90, there is high chances to success tame. once...
6 Replies - Rappelz
CodeDemon's Menu Pub v0.8[TABS][Teleport][Semi OPK][Semi Telekill][+More!]
THIS IS NOT MINE!, POSTING IT FOR A FRIEND! http://bloodskin.com/Upload/images/codedemonm.png Hey guys, its been a while since I released my latest...
13 Replies - Combat Arms Hacks, Bots, Cheats & Exploits



All times are GMT +2. The time now is 15:37.


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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.