Place following the callproperty instruction.Code:pop pushstring "customURL"
For example:
callproperty refers to www,realmofthemadgod,com so the full url in this method is www,realmofthemadgod,com/credits/add?Code:callproperty QName(Namespace("_var"), "_b6"), 1 pushstring "/credits/add?"
I need a string for custom url, but I have no idea how to add it also I don't know how to refer to it :P
Maybe @nilly can help me?
Place following the callproperty instruction.Code:pop pushstring "customURL"
Be careful, stray too far from the pack and you'll get lost.
CrazyJani (08-17-2013)
I'm a total noob at games, don't mind me, I'M A NOOB .
I just hack everything, but I suck at that too, I'M A NOOB .
I play sports, I do work, I study, but I'M STILL A NOOB .
What about you? YOU A NOOB TOO?
Noobs... always gets the best things
It sometimes show up in the AS3 sorcerer saying some codes are not popped, I don't understand what that means, so I just added a pop in front of the pushstring and I thought it would be like create a new method or something.
Sometimes like this
pop
pushstring "asdasdasdasd"
setlocal 10
changing max local to 11
and it works, so I thought this would be like creating a new thing.
I didn't know that by just doing customURL u can get a customURL method xD
I'm a total noob at games, don't mind me, I'M A NOOB .
I just hack everything, but I suck at that too, I'M A NOOB .
I play sports, I do work, I study, but I'M STILL A NOOB .
What about you? YOU A NOOB TOO?
Noobs... always gets the best things
You are confusing terms around. All you are doing is playing with the stack. When avm2 calls a property and it has a returns a value, that value is pushed onto the stack. pop simply removes that value from the stack. When you pushstring, you are then pushing a string to the stack. Since I assume the callproperty returns a string object, pop'ing and replacing that object with another string is a way to circumvent the results of the callproperty instruction. As you see here, you aren't creating any new methods, just simply manipulating data.
Be careful, stray too far from the pack and you'll get lost.
Thanks, @nilly, that worked, but another problem appeared:
How do I refer to player being in specific map outside of player.class.asasm?
Last edited by CrazyJani; 08-17-2013 at 09:32 AM.
I'm a total noob at games, don't mind me, I'M A NOOB .
I just hack everything, but I suck at that too, I'M A NOOB .
I play sports, I do work, I study, but I'M STILL A NOOB .
What about you? YOU A NOOB TOO?
Noobs... always gets the best things
Be careful, stray too far from the pack and you'll get lost.
I'm a total noob at games, don't mind me, I'M A NOOB .
I just hack everything, but I suck at that too, I'M A NOOB .
I play sports, I do work, I study, but I'M STILL A NOOB .
What about you? YOU A NOOB TOO?
Noobs... always gets the best things
There are plenty of ways to edit the swf you just have to find them. Personally I rarely work with bytecode anymore. I'll do little things in it but for big stuff I edit the client in as3. Much easier. It's sort of a trade secret though. You'll have to stumble along and figure out how I do that yourself.
Be careful, stray too far from the pack and you'll get lost.