Welcome to the new Woodmann RCE Messageboards Regroupment
Please be patient while the rest of the site is restored.

To all Members of the old RCE Forums:
In order to log in, it will be necessary to reset your forum login password ("I forgot my password") using the original email address you registered with. You will be sent an email with a link to reset your password for that member account.

The old vBulletin forum was converted to phpBB format, requiring the passwords to be reset. If this is a problem for some because of a forgotten email address, please feel free to re-register with a new username. We are happy to welcome old and new members back to the forums! Thanks.

All new accounts are manually activated before you can post. Any questions can be PM'ed to Kayaker.

Ollyscript GPA command problem

Bugs/suggestions/scripts/... for OllyScript plugin
Junior Member
Posts: 21
Joined: Tue Sep 30, 2003 10:19 am

Ollyscript GPA command problem

Post by Foreigner »

Hello all.

I'm trying to write a simple script but I'm stuck on GPA instruction. Suppose to have this situation:
eax=00404040 and eax points to string "kernel32.dll"
ebx=00408080 and ebx points to string "GetCommandLineA"
I wanted to do:
GPA "GetCommandLineA", "kernel32.dll"
using eax and ebx. I tried with something like:
GPA ebx, eax
because they point to the right strings but I always receive a nasty error. Where am I wrong?
User avatar
Posts: 826
Joined: Mon Apr 08, 2002 4:49 am
Location: :ether:

Post by nikolatesla20 »

Just make a variable

var Test1
mov Test1, eax
var Test2
mov Test2, ebx
GPA Test1, Test2

that should work...
Senior Member
Posts: 129
Joined: Fri May 26, 2006 5:10 pm
Location: France

Post by Epsylon3 »


GPA [ebx], [eax]

ebx and eax are integers...

New ODBGScript URL : http://e3.lescigales.org/olly/