Script Hanging Error
#8
I still think they forgot to mention something relatively important. Whenever you define a method as method? because you need to check any sort of conditions, it should never ever include any piece of code that could throw a result other than true or false and no executable code like assigning values to variables should be included.

# Save Player Position
x, y = self.x, self.y

It seems you are just assigning values to local variables that will be discarded at the end of the method execution. Why do you do that? Even if variable x were actually method x, that would make no sense at all, it's redundant, unnecessary, especially because nothing else inside that piece of code needs those values. Perhaps you should recreate your script in such a way that will make it more logical, methodical, etc. This is just my very humble opinion but I seriously think that starting anew might help you more by letting you better understand your current issues with your script and the way the script should be executed.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Messages In This Thread
Script Hanging Error - by BeJeremiah - 06-04-2015, 06:55 AM
RE: Script Hanging Error - by thephantom - 06-04-2015, 07:14 AM
RE: Script Hanging Error - by BeJeremiah - 06-04-2015, 07:19 AM
RE: Script Hanging Error - by Charlie Fleed - 06-07-2015, 09:26 PM
RE: Script Hanging Error - by BeJeremiah - 06-08-2015, 05:00 AM
RE: Script Hanging Error - by MechanicalPen - 06-08-2015, 10:52 PM
RE: Script Hanging Error - by BeJeremiah - 06-09-2015, 02:42 AM
RE: Script Hanging Error - by kyonides - 06-13-2015, 06:56 AM
RE: Script Hanging Error - by BeJeremiah - 06-17-2015, 01:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 2 63 Yesterday, 03:09 AM
Last Post: JayRay
   Atoa ACBS, Equipment Set Add-on Error Solitaire 10 833 10-13-2024, 11:41 PM
Last Post: Solitaire
   Script compatibility help Lord Vectra 3 4,604 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 15,848 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 16,161 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 16,448 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   (RMVXace) Battle error with Tankentai's battle system, help. x( Starmage 0 3,911 02-14-2018, 04:25 PM
Last Post: Starmage
   Help iwth script (RGSS Player crash) Whisper 3 8,533 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 10,216 06-11-2017, 04:43 PM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 9,856 05-31-2017, 05:10 AM
Last Post: Zachariad



Users browsing this thread: 1 Guest(s)