i play rpgs quite a bit, (particularly korean ones) however not always are items blatantly clear in how to craft if there is a crafting system, so i'd like to know how to find the triggers in jass.
For Example , say player 1 said "-create" and had item A + B in inventory this gives him item C
and later item C + D then he said "-create" again made item E
how would one find this in jass? (if i can, if not any alternatives?)
*Thanks to anyone whom can help*
Need Assistance!! Finding Trigger in JASS!
Moderator: Cheaters
-
- Member
- Posts: 90
- Joined: August 18th, 2013, 4:48 pm
- Title: The Day Walker
- Location: Vampire Hunting
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Need Assistance!! Finding Trigger in JASS!
The way i go about it is searching the jass for the -create command. For korean maps though, the command may not be completely in english and jasscraft cant search unicode. In that case start the search with PlayerChatEvent till you come across the command. What you're looking for should be right under, or pretty close to that line. You're mainly looking for the lines that remove and add items.
For an example, here is what it looks like for Greed RPG.
Near the bottom there are three lines that remove two items and add one. In this case it removes items with the rawcode ciri and I01B and replaces them with I01M. Every system is a little different but you should be able to find what you're looking for like that.
The problem now is that you have three items but no idea which ones they are just by the rawcode. You can try looking in the rawcodes for the map, but for korean maps it doesn't help much unless you understand the language.
Now if Warcraft displays the name of the item and you understand korean, you should be fine but that's probably not the case. Let's say you picked up an item in the game but have no idea what to combine it with. This is where JJCP comes in. JJCP has a very useful command to help in this situation called -itemid. It's just as it sounds, its able to give you a rawcode of the item in the top-left of your inventory. After getting the rawcode search the Jass again using it till you get to the trigger where its removed. Copy down the second item needed and go back to the game and this time use the -spawn code for the other item. You should have both items needed now and the -create command should work fine. I can't really give any tips how to find the second item in game though, so thats up to you to find out. I hope this answers everything.
For an example, here is what it looks like for Greed RPG.
Spoiler:
The problem now is that you have three items but no idea which ones they are just by the rawcode. You can try looking in the rawcodes for the map, but for korean maps it doesn't help much unless you understand the language.
Spoiler:
-
- Member
- Posts: 90
- Joined: August 18th, 2013, 4:48 pm
- Title: The Day Walker
- Location: Vampire Hunting
Re: Need Assistance!! Finding Trigger in JASS!
thank you very much,
one question though,
if in a game instead of a command you walk somewhere to create an item, what would it be near rather than the chatevent of "-create"??
one question though,
if in a game instead of a command you walk somewhere to create an item, what would it be near rather than the chatevent of "-create"??
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Need Assistance!! Finding Trigger in JASS!
Off the top of my head im not quite sure. EnterRect would work but that would take a very long time to search through everything. Point me in the direction of a map that has that kind of system and ill take a look.
-
- Member
- Posts: 90
- Joined: August 18th, 2013, 4:48 pm
- Title: The Day Walker
- Location: Vampire Hunting
Re: Need Assistance!! Finding Trigger in JASS!
this map here - http://www.makemehost.com/ShareMaps/new ... ..3.41.w3x
has a system like that and im kinda stuck on items myself
if you could take a look and find anything helpful it would be much appreciated.
has a system like that and im kinda stuck on items myself
if you could take a look and find anything helpful it would be much appreciated.
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Need Assistance!! Finding Trigger in JASS!
Alright, well probably searching for RemoveItem and AddItem are your best bets to find em. I found a small number of recipes in the map but ive got no way to test them out, unless I get a hold of a cheated map. Apparently for this map the items use a different numbering than others like Greed for instance but the rawcodes still give the spawning code.
Spoiler:
Spoiler:
-
- Member
- Posts: 90
- Joined: August 18th, 2013, 4:48 pm
- Title: The Day Walker
- Location: Vampire Hunting
Re: Need Assistance!! Finding Trigger in JASS!
thanks, appreciated
but how did u compare the long codes to a raw code list to find what item it corresponded to?
but how did u compare the long codes to a raw code list to find what item it corresponded to?
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Need Assistance!! Finding Trigger in JASS!
Im not exactly even sure what the long string of numbers for that map represent so maybe i got lucky in that regard, but basicly i ripped the rawcodes from the map using RMPQEx and then i used Haxorizer and cleaned them up. It ended up in that format. I looked over the uncleaned rawcode list but those numbers aren't shown, so im not really sure. Perhaps someone else can shed some light on that.
-
- Member
- Posts: 90
- Joined: August 18th, 2013, 4:48 pm
- Title: The Day Walker
- Location: Vampire Hunting
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Need Assistance!! Finding Trigger in JASS!
Sure
You do not have the required permissions to view the files attached to this post.