Easier way to cheat XP>

Users who are viewing this thread

There is no cheat that will work on your army (as was said) however you can use Shift+L on you and your companions taking you all to very high level, then max out trainer on all of you (or at least get it to 7) and it hsould only take 4-5 ingame days to train up a top tier army.
 
Having seen a number of these threads come and go, I figured it was time to throw the code together to do this.
This adds XP cheat options to dialogs with party members (accessed via your party window), if the cheatmenu is active.

0. Backup conversation.txt
1. Open conversation.txt
2. Add 2 to the number at the top of the file (native 1.153 change 2769 to 2771)
3. At the very bottom of the file, add
Code:
dlga_regular_member_talk:do_regular_member_view_char 69631 1320  1 30 2 144115188075856163 1 Upgrade_One_Member  1322  11 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1 2 936748722493063190 144115188075855987 1670 3 648518346341351424 1224979098644774912 72057594037927936 NO_VOICEOVER 
dlga_regular_member_talk:do_regular_member_view_char.1 69631 1320  1 30 2 144115188075856163 1 Upgrade_Full_Stack  1322  13 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1 2 936748722493063190 144115188075855987 1653 3 72057594037927937 648518346341351424 1224979098644774912 2107 2 72057594037927936 72057594037927937 1670 3 648518346341351424 1224979098644774912 72057594037927936 NO_VOICEOVER
4. Save, play.

Code:
[anyone|plyr,"regular_member_talk", [(ge, "$cheat_mode", 1)], "Upgrade One Member", "do_regular_member_view_char",[
    (assign, ":stack", -1),
    (party_get_num_companion_stacks, ":num_of_stacks", "p_main_party"),
    (try_for_range, ":i", 0, ":num_of_stacks"),
        (party_stack_get_troop_id, ":stack_troop", "p_main_party", ":i"),
        (eq, ":stack_troop", "$g_talk_troop"),    
        (assign, ":stack", ":i"),
        (assign, ":num_of_stacks", 0),
    (try_end),
    (neq, ":stack", -1),
    (call_script, "script_game_get_upgrade_xp", "$g_talk_troop"),
    (party_add_xp_to_stack, "p_main_party", ":stack", reg0),
]],
[anyone|plyr,"regular_member_talk", [(ge, "$cheat_mode", 1)], "Upgrade Full Stack", "do_regular_member_view_char",[
    (assign, ":stack", -1),
    (party_get_num_companion_stacks, ":num_of_stacks", "p_main_party"),
    (try_for_range, ":i", 0, ":num_of_stacks"),
        (party_stack_get_troop_id, ":stack_troop", "p_main_party", ":i"),
        (eq, ":stack_troop", "$g_talk_troop"),    
        (assign, ":stack", ":i"),
        (assign, ":num_of_stacks", 0),
    (try_end),
    (neq, ":stack", -1),
    (call_script, "script_game_get_upgrade_xp", "$g_talk_troop"),
    (party_stack_get_size, reg1, "p_main_party", ":stack"),
    (val_mul, reg0, reg1),
    (party_add_xp_to_stack, "p_main_party", ":stack", reg0),
]],
Drop at bottom of file
 
Rocko said:
tobijah said:
I really don't want to start a scrap over the internet. as I know they are particularly pointless. But, you are already cheating to the extents of the game (to my knowledge) It is far superior to the endless struggle to upgrade your troops the legit way. although much less rewarding. :roll:
Honestly. It just rubs me the wrong way when people ask for a better way to cheat. :neutral: Maybe I'm just old fashioned. but not all games hand easy cheats to you on a silver platter... Mount&Blade does.

and to top it all off. Whenever I do it gets a lot less interesting/rewarding.
although I'm sure you could care less about my experiences. :lol:

My thinking exactly....I mean seriously, a few extra key strokes are JUST TOO HARD for the OP?

In the time it takes to do one decent battle without cheats, with cheats you can recruit a couple hundred men and max them out.  I tried this after a bug from a mod deleted about 200 men.  I turned on cheat mode, teleported around to villages and then trained them men back up.  (I never did figure out how to replace the companions who got lost in limbo :???: )

That has nothing to do with you. It isn't just a "few extra key strokes" either. With mods like prophecy of pendor, it takes forever to upgrade some units and hitting the same key, literally 1000 times, is annoying. You really should keep your opinion to yourself if you aren't going to be any help.
 
Caba`drin said:
Having seen a number of these threads come and go, I figured it was time to throw the code together to do this.
This adds XP cheat options to dialogs with party members (accessed via your party window), if the cheatmenu is active.

0. Backup conversation.txt
1. Open conversation.txt
2. Add 2 to the number at the top of the file (native 1.153 change 2769 to 2771)
3. At the very bottom of the file, add
Code:
dlga_regular_member_talk:do_regular_member_view_char 69631 1320  1 30 2 144115188075856163 1 Upgrade_One_Member  1322  11 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1 2 936748722493063190 144115188075855987 1670 3 648518346341351424 1224979098644774912 72057594037927936 NO_VOICEOVER 
dlga_regular_member_talk:do_regular_member_view_char.1 69631 1320  1 30 2 144115188075856163 1 Upgrade_Full_Stack  1322  13 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1 2 936748722493063190 144115188075855987 1653 3 72057594037927937 648518346341351424 1224979098644774912 2107 2 72057594037927936 72057594037927937 1670 3 648518346341351424 1224979098644774912 72057594037927936 NO_VOICEOVER
4. Save, play.

Code:
[anyone|plyr,"regular_member_talk", [(ge, "$cheat_mode", 1)], "Upgrade One Member", "do_regular_member_view_char",[
    (assign, ":stack", -1),
    (party_get_num_companion_stacks, ":num_of_stacks", "p_main_party"),
    (try_for_range, ":i", 0, ":num_of_stacks"),
        (party_stack_get_troop_id, ":stack_troop", "p_main_party", ":i"),
        (eq, ":stack_troop", "$g_talk_troop"),    
        (assign, ":stack", ":i"),
        (assign, ":num_of_stacks", 0),
    (try_end),
    (neq, ":stack", -1),
    (call_script, "script_game_get_upgrade_xp", "$g_talk_troop"),
    (party_add_xp_to_stack, "p_main_party", ":stack", reg0),
]],
[anyone|plyr,"regular_member_talk", [(ge, "$cheat_mode", 1)], "Upgrade Full Stack", "do_regular_member_view_char",[
    (assign, ":stack", -1),
    (party_get_num_companion_stacks, ":num_of_stacks", "p_main_party"),
    (try_for_range, ":i", 0, ":num_of_stacks"),
        (party_stack_get_troop_id, ":stack_troop", "p_main_party", ":i"),
        (eq, ":stack_troop", "$g_talk_troop"),    
        (assign, ":stack", ":i"),
        (assign, ":num_of_stacks", 0),
    (try_end),
    (neq, ":stack", -1),
    (call_script, "script_game_get_upgrade_xp", "$g_talk_troop"),
    (party_stack_get_size, reg1, "p_main_party", ":stack"),
    (val_mul, reg0, reg1),
    (party_add_xp_to_stack, "p_main_party", ":stack", reg0),
]],
Drop at bottom of file

THANK YOU SO MUCH FOR THIS. Will try this out. Thanks for all the other stuff you provide too Caba. I have been using your work for years.

edit -- Wil this work with Prophesy of Pendor> It might not. I just tried editing conversations.txt and saved it but I see no new conversation topics with my soldiers. I have the cheatmenu active but I see no new conversation topics with my soldiers. I go to the party menu, click talk and nothing, just the normal stuff.
 
BlackRainZ said:
edit -- Wil this work with Prophesy of Pendor> It might not. I just tried editing conversations.txt and saved it but I see no new conversation topics with my soldiers. I have the cheatmenu active but I see no new conversation topics with my soldiers. I go to the party menu, click talk and nothing, just the normal stuff.
It might not, I'm not sure how PoP compiled their work--they could compile it in a way that it works, or in a way that it doesn't. If you have activated the cheatmenu (CTRL~ then type "cheatmenu" in the box), then open party window and talk to one of your regular--not hero--troops, and two new options don't appear, they compiled their project in the way that doesn't work, unfortunately.
 
BlackRainZ said:
Okay, yeah and they don't give access to their modsys files or anything, blah. Guess I could still use it for floris maybe. Wish it worked for pendor though.
EDIT - actually, we could work around this. give me a sec.
EDIT 2 - In your PoP conversations.txt, in the long line at the top that starts
dlga_start:close_window
find
Code:
4 0 31 2 144115188075856163 1 2133
the number 144115188075856163  will be different

Copy that number and then in the .TXT tweak I provided replace 144115188075856163 with the number you found

Then, in that same top line, but very near the beginning, find
Code:
2200 1 144115188075855987
144115188075855987 may be different

Copy that number and then in the .TXT tweak I provided replace 144115188075855988 with the number you found

It is possible this will still not work, for PoP or Floris, or any non-Native-compatible mod as it might not call the right script...so, with the same caveat on replacing the numbers for PoP, here's a version that will add 10K or 100K XP to the stack (and you can see where the number 10000, etc, is right at the end so you can change that to whatever you want):
Code:
dlga_regular_member_talk:do_regular_member_view_char 69631 1320  1 30 2 144115188075856163 1 Give_10,000_XP  1322  10 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1670 3 648518346341351424 1224979098644774912 10000 NO_VOICEOVER 
dlga_regular_member_talk:do_regular_member_view_char.1 69631 1320  1 30 2 144115188075856163 1 Give_100,000_XP  1322  10 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1670 3 648518346341351424 1224979098644774912 100000 NO_VOICEOVER
 
Caba`drin said:
BlackRainZ said:
Okay, yeah and they don't give access to their modsys files or anything, blah. Guess I could still use it for floris maybe. Wish it worked for pendor though.
EDIT - actually, we could work around this. give me a sec.
EDIT 2 - In your PoP conversations.txt, in the long line at the top that starts
dlga_start:close_window
find
Code:
4 0 31 2 144115188075856163 1 2133
the number 144115188075856163  will be different

Copy that number and then in the .TXT tweak I provided replace 144115188075856163 with the number you found

Then, in that same top line, but very near the beginning, find
Code:
2199 1 144115188075855988
144115188075855988 may be different

Copy that number and then in the .TXT tweak I provided replace 144115188075855988 with the number you found

It is possible this will still not work, for PoP or Floris, or any non-Native-compatible mod as it might not call the right script...so, with the same caveat on replacing the numbers for PoP, here's a version that will add 10K or 100K XP to the stack (and you can see where the number 10000, etc, is right at the end so you can change that to whatever you want):
Code:
dlga_regular_member_talk:do_regular_member_view_char 69631 1320  1 30 2 144115188075856163 1 Give_10,000_XP  1322  10 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1670 3 648518346341351424 1224979098644774912 10000 NO_VOICEOVER 
dlga_regular_member_talk:do_regular_member_view_char.1 69631 1320  1 30 2 144115188075856163 1 Give_100,000_XP  1322  10 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1670 3 648518346341351424 1224979098644774912 100000 NO_VOICEOVER

Okay I am trying to do this now so what you are saying is that at the top of the script find the code: 4 0 31 2 144115188075856163 1 2133 and copy the 144115188075856163 and replace your 144115188075856163 with the 144115188075856163 from the top of the file>>> Isn't it the same number>> I guess somehow it is different, anyway, next I copy this: 144115188075855988 and replace your 144115188075855988 with this 144115188075855988 from the top>>

However, I can't find 144115188075855988 in the code you gave for some reason.
 
In PoP the number that should be in the spot 144115188075856163 is might be different. So, use the numbers around it in my example to find what number (starting with 1441151880758 at the very least, if not having more digits in common) is in that spot and use that in place of 144115188075856163. Similarly with the other number I indicate.

As for the other, I grabbed the wrong numbers. Sorry
Should be
Code:
2200 1 144115188075855987
Corrected above.
 
BlackRainZ said:
Caba`drin said:
You don't say. They must have changed the names of the dialogs then...either to be tricky or for some less nefarious purpose. I'll try and take a look.

Any luck with that>

Yes, finally. I'd somehow thought the engine was actually using the dialog name strings...of course it wasn't. Don't know why I thought that.

This is tested and works on Prophesy of Pendor 3.2, the most recent I have fully downloaded ATM
Code:
dlga_regular_member_talk:do_regular_member_view_char 69631 1510  1 30 2 144115188075856163 1 Give_10,000_XP  1512  10 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1670 3 648518346341351424 1224979098644774912 10000 NO_VOICEOVER 
dlga_regular_member_talk:do_regular_member_view_char.1 69631 1510  1 30 2 144115188075856163 1 Give_100,000_XP  1512  10 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1670 3 648518346341351424 1224979098644774912 100000 NO_VOICEOVER
 
Prophesy of Pendor is version 3.42 now. I don't know if that means anything but the cheat still doesn't seem to work for me, unless I am doing something wrong. I added those two lines right at the end of the file and added 2 to the number at top. I go into cheatmenu mode and talk to the soldier. Still no option to upgrade. Am I doing something wrong>> Maybe I can send you the conversation file I have and you can edit it or something>>
 
You could look in the file yourself or send it my way.
Taking
Caba`drin said:
Code:
dlga_regular_member_talk:do_regular_member_view_char 69631 1510  1 30 2 144115188075856163 1 Give_10,000_XP  1512  10 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1670 3 648518346341351424 1224979098644774912 10000 NO_VOICEOVER 
dlga_regular_member_talk:do_regular_member_view_char.1 69631 1510  1 30 2 144115188075856163 1 Give_100,000_XP  1512  10 2133 2 1224979098644774912 -1 1650 2 1224979098644774913 648518346341351424 6 3 1224979098644774914 0 1224979098644774913 1652 3 1224979098644774915 648518346341351424 1224979098644774914 31 2 1224979098644774915 144115188075855987 2133 2 1224979098644774912 1224979098644774914 2133 2 1224979098644774913 0 3 0 2147483679 2 1224979098644774912 -1 1670 3 648518346341351424 1224979098644774912 100000 NO_VOICEOVER
as a starting point...

Check what number is where 1510 is in a line that starts
dlga_regular_member_talk: 

and change 1510 to match.

Then see what number is where 1512 is in a line that has
:do_regular_member_view_char

and change 1512 to match.

4 numbers to change in total (ignore all my previous looking for 144115188075856163 type number stuff...that was junk, sorry) from the Native tweak.
 
Back
Top Bottom