Magical Maps issue
Forum rules
NO LONGER BEING MAINTAINED!
NO LONGER BEING MAINTAINED!
Magical Maps issue
There seems to be an issue with Magical maps that i have found in the cities of sandoria, windurst, and jueno when you try to buy a map it tell you. "You do not have enough gil" for every map after sandoria. For the Sandorian map it does not say you buy it when you click it it just dissapears from the list. You do not get any of the maps when you try to buy them and it does not take any gil from your gil inventory. I've been looking into the issue but i can't seem to put my hand on what is wrong in the scripting for the NPCs. I know a lot of NPC IDs got moved around did any of the Key item ones get moved around to? I am still troubleshooting but maybe someone else has already found some type of solution. If you know the answer please let me know what you did to fix it so i have a better understanding on the script. Another issue i found that is very minor is with the airship pass in jeuno with no quests activated you try to buy the airship pass for 500,000 gil and it will tell you you do not have enough money. but you will get the item and it will take the 500,000 gil from your gil. it seems to just be a txt issue the script is not written very userfriendly since it is jumbled in with another longer quest saving the clock tower. If you know how to fix these issues or have time to look at them let me know and what you did to fix it. More knowledge we have the more we can correct other issues like these in other script files. Thank you for your time.
Re: Magical Maps issue
I have a temporary solution for the map npc scripted out to where you can buy the maps for their given prices obtain the items and not lose extra gil if you try to obtain the same map more than once. I cannot upload it yet due to not having internet access via my personal laptop yet but in about a week or so i can upload the temporary fix for all the map npcs. Issues that are still in the event are as follows
-When you buy a map it will tell you you obtain it and then it will say you do not have enough money this is caused by i'm guessing a parameter in the actual event which i do not have a way to pull up or figure out with other resources i am sure those parameters could be pulled up and i could make a better script
-When you already have a map it does not remove the maps you already have from the list giving you the option to buy it again. I am sure this is once again a parameter by the looks of it somthing called "Mapvar" from the previous not working scripts of the npcs
-When you try to buy a map it gives you the option to buy any map that you could normaly buy in the jeuno area. There is probably another parameter that is used that refers to which country you are from I'm guessing similar to the Signet NPC scripts that says which nation it is in.
If you have resources that i could dig deeper into an event or you have some solution to these issues please inform me i would like to finish makeing this script work properly I do not like half finished work.
-When you buy a map it will tell you you obtain it and then it will say you do not have enough money this is caused by i'm guessing a parameter in the actual event which i do not have a way to pull up or figure out with other resources i am sure those parameters could be pulled up and i could make a better script
-When you already have a map it does not remove the maps you already have from the list giving you the option to buy it again. I am sure this is once again a parameter by the looks of it somthing called "Mapvar" from the previous not working scripts of the npcs
-When you try to buy a map it gives you the option to buy any map that you could normaly buy in the jeuno area. There is probably another parameter that is used that refers to which country you are from I'm guessing similar to the Signet NPC scripts that says which nation it is in.
If you have resources that i could dig deeper into an event or you have some solution to these issues please inform me i would like to finish makeing this script work properly I do not like half finished work.
Re: Magical Maps issue
Alright well after a lot of trial and error i actually had a breakthrough yesterday and was able to get the NPC to work properly. The last few steps i need to finish off the npc is i need a list of maps each country map npc offers to sell so i can set the variable correctly to erase any other maps that are not associated with them. It will no longer tell you "You do not have enough gil" it will provide you with correct CS and will update itself to not display which maps you already have. I wanna toss a thank you out there to Xx_DeMoLiSH for giving me a little further insight into event scripting. I should have all map npcs from normal cities complete in 3 or 4 days. And should be able to start uploading the files i have repaired and created for the project at that time.
Re: Magical Maps issue
Did this ever get fixed? I still have the old style map scripts on my latest download of the svn and it doesn't allow map purchasing.
According to the November 5th update, they made changes to map vendors.
The following adjustments have been made to magic maps.
•Rewards have been added to quests that grant magic maps.
•The following NPCs will now sell magic maps for non-expansion areas formerly obtainable only by quests.
Violitte – Southern San d’Oria (G-1) / Elesca – Northern San d’Oria (I-8) / Karine – Bastok Mines (H-9) / Rex – Port Bastok (J-7) / Mhoji Roccoruh – Port Windurst (G-9) / Pehki Machumaht – Windurst Woods (H-11)
According to the November 5th update, they made changes to map vendors.
The following adjustments have been made to magic maps.
•Rewards have been added to quests that grant magic maps.
•The following NPCs will now sell magic maps for non-expansion areas formerly obtainable only by quests.
Violitte – Southern San d’Oria (G-1) / Elesca – Northern San d’Oria (I-8) / Karine – Bastok Mines (H-9) / Rex – Port Bastok (J-7) / Mhoji Roccoruh – Port Windurst (G-9) / Pehki Machumaht – Windurst Woods (H-11)
Re: Magical Maps issue
I took a stab at trying to figure this out. It's my first time at scripting something.
I was able to get all but one map to disappear from the list if you pass in 0x7FFFFFFF as the second parameter. There are 32 map options now and for some reason if you pass in 0xFFFFFFFF, it reverts to showing all maps.
Other than that, the option returned changed and it doesn't appear to be the keyitem id, but the hex of the option you chose from the list on either page 1 or page 2 followed by 0001 in hex.
For example the Map of Sandoria option returns 1, but the Map of Bastok returns 0x10001.
Items on the second page return 0x100001 for the second item on the second page.
I may look at it more unless someone else has it already done.
Unless they moved the keyitem id to another parameter, but I haven't dove that far into it to figure it out.
I was able to get all but one map to disappear from the list if you pass in 0x7FFFFFFF as the second parameter. There are 32 map options now and for some reason if you pass in 0xFFFFFFFF, it reverts to showing all maps.
Other than that, the option returned changed and it doesn't appear to be the keyitem id, but the hex of the option you chose from the list on either page 1 or page 2 followed by 0001 in hex.
For example the Map of Sandoria option returns 1, but the Map of Bastok returns 0x10001.
Items on the second page return 0x100001 for the second item on the second page.
I may look at it more unless someone else has it already done.
Unless they moved the keyitem id to another parameter, but I haven't dove that far into it to figure it out.
Re: Magical Maps issue
I have this kind of working for one map vendor in Windurst Woods.
I moved most of the finish code to onEventUpdate as this is what the event appears to require now.
The only piece I'm missing is what to change option to after you finish getting the keyitem to allow the event to perform normally once you buy a map.
The event keeps you in the menu until you decline. The code I'm attaching works fairly well the first time you buy something, then after that kind of doesn't work that well because it displays things you already own.
But it's a start to something at least and at least I can buy maps with this.
Anyone have any other thoughts?
This script is from Windurst Woods.
I moved most of the finish code to onEventUpdate as this is what the event appears to require now.
The only piece I'm missing is what to change option to after you finish getting the keyitem to allow the event to perform normally once you buy a map.
The event keeps you in the menu until you decline. The code I'm attaching works fairly well the first time you buy something, then after that kind of doesn't work that well because it displays things you already own.
But it's a start to something at least and at least I can buy maps with this.
Anyone have any other thoughts?
This script is from Windurst Woods.
- Attachments
-
- Pehki_Machumaht.txt
- Map Vendor in Windurst Woods
- (3.82 KiB) Downloaded 290 times
Re: Magical Maps issue
Hello everyone, this is my first post!!! First I wanna thanks all the huge job's done here by everyone concern!!! I'm soooooo happy to play this awesome game in lan!!! So I have the magical maps issue too... Someone's looking at this issue???? When a person want to test a solution, I just wanna help so send me a reply and I'll test it for you!!! Have a nice day!!!