Register for your free account! | Forgot your password?

You last visited: Today at 18:53

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

 

StrRes.ini

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2005
Posts: 969
Received Thanks: 17
Sometimes I like looking through the files and read them. I found these + more but these ones mainly (In the StrRes.ini)

Quote:
10447=Maximum items in the oven!
10448=It has been put into the oven!
10449=The item can't be crafted!
10457=Relieve 2% damage
10458=Relieve 4% damage
10459=Relieve 6% damage
I guess the relieve damage is the turtle gem or whatever its called

Also in the file are these sorts of lines "100133=Look! %d %d %d, %d! Big!"

Thats obviosly from gambling but the variables '%d' are all the same, I dont get it. In a batch file thats how variables are displayed but there all the same letter, so say if runs a random process to detemain what dice face is rolled eg:

Code:
Dim I As Integer
Dim Dice As Integer
For I = 1 to 3 'Runs 3 times for all the %d variables, not including the one after the ","
Randomize
Dice = Int(Rnd *6) +1
'Calls the information from the text file, stores it to a temp string variable
'Replaces %d with dice
Dice = " " 'Clears Dice variable
next 'Back to start of loop unless its finished
Anyways, you should get what im trying to say, Do you think its posible to use the StrRes.ini variables in another application. Eg Health check rather then defeating DMA just read off the %d variable.

Anyways, Just an Idea



Hojo is offline  
Old   #2
 
elite*gold: 0
Join Date: Jul 2005
Posts: 5
Received Thanks: 0
while i'm not familiar with co client internals...

remember that in C you say:

printf("first number: %d, 2nd number %d, 3rd number %d", a, b, c);

where a b c are numbers (preferable ints since %d but not obligatory) and %d is just "where they are placed so the output would be: (if a=10, b=20, c=30)

1st numer: 10, 2nd number: 20, 3rd number: 30

might be same in co. just indicator that numeric value is passed as parameter. hell knows how to refer to those. perhaps array of parameters that is accessed in strings.

for tiny fuge (that has no arrays implemented) i created lib that implements them. you adress by name_X_Y instead of name[X,Y] or even *** ol name[x][y]

//me
just my 0cent worth


blux is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2005
Posts: 969
Received Thanks: 17
Quote:
Originally posted by blux@Aug 18 2005, 14:27
while i'm not familiar with co client internals...

remember that in C you say:

printf("first number: %d, 2nd number %d, 3rd number %d", a, b, c);

where a b c are numbers (preferable ints since %d but not obligatory) and %d is just "where they are placed so the output would be: (if a=10, b=20, c=30)

1st numer: 10, 2nd number: 20, 3rd number: 30

might be same in co. just indicator that numeric value is passed as parameter. hell knows how to refer to those. perhaps array of parameters that is accessed in strings.

for tiny fuge (that has no arrays implemented) i created lib that implements them. you adress by name_X_Y instead of name[X,Y] or even *** ol name[x][y]

//me
just my 0cent worth
WEll CO Is made in C and i dont know C so your probly right, now just to find a way to read them...
Hojo is offline  
Old   #4
 
elite*gold: 0
Join Date: Jul 2005
Posts: 90
Received Thanks: 0
this wouldent do any good since the out doesent come until after final bets are made


No_messiah is offline  
Old   #5
 
elite*gold: 0
Join Date: Apr 2005
Posts: 969
Received Thanks: 17
Quote:
Originally posted by No_messiah@Aug 19 2005, 11:24
this wouldent do any good since the out doesent come until after final bets are made
No, I meant to read health, not the gambling results
Hojo is offline  
Old   #6
 
elite*gold: 0
Join Date: Jul 2005
Posts: 90
Received Thanks: 0
rofl ic ic sry about that post then but why not read the health from the memmory with the deafeated dma? i mean its gotta be faster to chek it there then in the file cause you would have open, read and close rather then just chekking a mem adress?
No_messiah is offline  
Old   #7
 
elite*gold: 0
Join Date: Apr 2005
Posts: 969
Received Thanks: 17
Quote:
Originally posted by No_messiah@Aug 19 2005, 13:19
rofl ic ic sry about that post then but why not read the health from the memmory with the deafeated dma? i mean its gotta be faster to chek it there then in the file cause you would have open, read and close rather then just chekking a mem adress?
Maybe...but it would be easyer then defeating the DMA


Hojo is offline  
Closed Thread



« Previous Thread | Next Thread »

Similar Threads
ItemType.dat ,StrRes.ini [Always update]
New ItemType.dat , StrRes.ini Patch 5229 1- itemType.dat Weapons Examples:- EmperorKatana. EmperorKatana. EmperorKatana. ...
15 Replies - CO2 Exploits, Hacks & Tools
ItemType.dat,StrRes.ini ALWAYS UPDATE!
New itemtypei.dat, StrRes.ini for patch 5203 Weapons Examples:- EmperorKatana EmperorKatana EmperorKatana EmperorKatana ...
55 Replies - CO2 Exploits, Hacks & Tools
StrRes
i was looking back over the StrRes and there is soem weird shit 11076=The cloak of death can work for %d minutes and %d seconds. 11077=Remove the...
1 Replies - CO2 Main - Discussions / Questions
Query on StrRes
I was wondering, is it possible to edit the "your husband/wife is online" message, or the "xxx has been killed by xxx" message etc through the...
4 Replies - CO2 Main - Discussions / Questions



All times are GMT +2. The time now is 18:53.


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

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