Click here to Skip to main content
15,910,211 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: gameonline Pin
ThatsAlok19-Mar-07 1:17
ThatsAlok19-Mar-07 1:17 
GeneralRe: gameonline Pin
Programm3r19-Mar-07 1:24
Programm3r19-Mar-07 1:24 
AnswerRe: gameonline Pin
Emil - Gabriel19-Mar-07 1:03
Emil - Gabriel19-Mar-07 1:03 
GeneralRe: gameonline Pin
ThatsAlok19-Mar-07 1:06
ThatsAlok19-Mar-07 1:06 
JokeRe: gameonline Pin
Emil - Gabriel19-Mar-07 1:14
Emil - Gabriel19-Mar-07 1:14 
GeneralRe: gameonline Pin
ThatsAlok19-Mar-07 1:16
ThatsAlok19-Mar-07 1:16 
AnswerRe: gameonline Pin
ThatsAlok19-Mar-07 1:17
ThatsAlok19-Mar-07 1:17 
AnswerRe: gameonline Pin
Bradml19-Mar-07 1:30
Bradml19-Mar-07 1:30 
You just have to reference the spine ratio vector and then pull the value array from it. If you wish to do things like change the score you will need to push the do_OR variable type into the games HyperText reference spine.

I normally do this with PHP's powerful game manipulation engine, it loads the game's current spline ratio vector into an object as such:

<?php

//EXAMPLE 1: LOADING GAME AND READING CURRENT STATS
$runescape = new gameReferenceObject('http://www.runscape.com', true); //Use runscape.com's central reference server to open game vector.

calc_spline_object($runescape); //Load the spline

$runescape->login('Username', 'Password'); //Log your character in

echo $runescape->charstats->attack; //Prints the current characters stats to screen

$runescape->logout(); //End character session

close_vector($runescape); //Close the vector so that it lets the server know you are done reading the information

?>
As you can see, that is incredibly simple to do thanks to the perilous efforts of the PHP development team.

<?php

//EXAMPLE 2: LOADING GAME AND CHANGING STATS
$runescape = new gameReferenceObject('http://www.runscape.com', true); //Use runscape.com's central reference server to open game vector.

open_pad_object($runescape); //do_OR pad loading

$runescape->login('Username', 'Password'); //Log your character in

$runescape->charstats->attack = (do_OR) 99; //Sets the attack stat to 99 in the (do_OR) type.

$runescape->logout(); //End character session

$runescape->push(); //Push new variables to the server

close_pad($runescape); //Close the vector so that it lets the server know you are done pushing the information

?>
As you can see, it is also incredibly easy to make modifications to games with this amazing PHP framework.

Hope that helped you.






Brad
Australian

- Bradml on "MVP Status"

If this was posted in a programming board please rate my answer

QuestionRe: gameonline Pin
Programm3r19-Mar-07 1:32
Programm3r19-Mar-07 1:32 
AnswerRe: gameonline Pin
Bradml19-Mar-07 1:34
Bradml19-Mar-07 1:34 
GeneralRe: gameonline Pin
Programm3r19-Mar-07 1:47
Programm3r19-Mar-07 1:47 
GeneralRe: gameonline Pin
Cedric Moonen19-Mar-07 2:07
Cedric Moonen19-Mar-07 2:07 
GeneralRe: gameonline Pin
brianwelsch19-Mar-07 2:31
brianwelsch19-Mar-07 2:31 
GeneralRe: gameonline Pin
Bradml19-Mar-07 2:50
Bradml19-Mar-07 2:50 
GeneralRe: gameonline Pin
Mark Salsbery19-Mar-07 4:20
Mark Salsbery19-Mar-07 4:20 
GeneralRe: gameonline Pin
ThatsAlok19-Mar-07 22:16
ThatsAlok19-Mar-07 22:16 
QuestionPassing reference of array of structure to function Pin
rp_suman18-Mar-07 23:46
rp_suman18-Mar-07 23:46 
AnswerRe: Passing reference of array of structure to function Pin
prasad_som18-Mar-07 23:54
prasad_som18-Mar-07 23:54 
Questionthreading Pin
deeps_cute18-Mar-07 23:39
deeps_cute18-Mar-07 23:39 
AnswerRe: threading Pin
Programm3r19-Mar-07 0:04
Programm3r19-Mar-07 0:04 
GeneralRe: threading Pin
deeps_cute19-Mar-07 0:10
deeps_cute19-Mar-07 0:10 
QuestionRe: threading Pin
Programm3r19-Mar-07 0:11
Programm3r19-Mar-07 0:11 
AnswerRe: threading Pin
deeps_cute19-Mar-07 0:15
deeps_cute19-Mar-07 0:15 
AnswerRe: threading Pin
Roger Stoltz19-Mar-07 0:15
Roger Stoltz19-Mar-07 0:15 
GeneralRe: threading Pin
deeps_cute19-Mar-07 0:17
deeps_cute19-Mar-07 0:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.