Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failed at line 519 of ..\src\ai\api\ai_order.cpp: GetOrderFlags(vehicle_id, order_position #4467

Closed
DorpsGek opened this issue Feb 4, 2011 · 4 comments
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Feb 4, 2011

hemi426 opened the ticket and wrote:

Hi,
i got the attached error while i'm playing the game. I haven't made any special things.
I hope it helps to remove the last errors in the beta version.

regards
Sven

Attachments

Reported version: 1.1.0-beta4
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/4467
@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 4, 2011

Terkhen wrote:

openttd.exe!raise(int signum) Línea 597 C
openttd.exe!abort() Línea 78 C
openttd.exe!error(const char * s, ...) Línea 127 C++
openttd.exe!AIOrder::_SetOrderFlags() Línea 519 + 0x2c Bytes C++
openttd.exe!SQConvert::DefSQStaticCallback<AIBase,bool (__cdecl*)(int,unsigned int,unsigned int)>(SQVM * vm) Línea 843 + 0x64 Bytes C++
openttd.exe!SQVM::CallNative(SQNativeClosure * nclosure, __int64 nargs, __int64 stackbase, SQObjectPtr & retval, bool & suspend) Línea 1172 C++
openttd.exe!SQVM::Execute(SQObjectPtr & closure, __int64 target, __int64 nargs, int64 stackbase, SQObjectPtr & outres, unsigned int64 raiseerror, SQVM::ExecutionType et) Línea 782 + 0x26 Bytes C++
openttd.exe!Squirrel::Resume(int suspend) Línea 191 + 0x66 Bytes C++
openttd.exe!AIInstance::GameLoop() Línea 387 + 0xf Bytes C++
openttd.exe!AI::GameLoop() Línea 78 + 0xc Bytes C++
openttd.exe!StateGameLoop() Línea 1278 C++
openttd.exe!GameLoop() Línea 1362 C++
openttd.exe!VideoDriver_Win32::MainLoop() Línea 887 C++
openttd.exe!ttd_main(int argc, char * * argv) Línea 764 C++
openttd.exe!WinMain(HINSTANCE * hInstance, HINSTANCE
* hPrevInstance, char * lpCmdLine, int nCmdShow) Línea 432 C++
openttd.exe!__tmainCRTStartup() Línea 263 + 0x21 Bytes C


This comment was imported from FlySpray: https://bugs.openttd.org/task/4467#comment9593

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 4, 2011

Rubidium wrote:

The savegame gives me the idea that this crash is caused by an automatic order that was inserted at the wrong time. If that is the case it is likely fixed in 1.1.0-beta5.

Do you, by any chance have a savegame from just before the crash? That way we might be able to reproduce the crash locally and confirm that this is the case.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4467#comment9594

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2011

hemi426 wrote:

Here is the savegame that i made bevor

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4467#comment9609

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2011

Yexo closed the ticket.

Reason for closing: Fixed

In r21992


This comment was imported from FlySpray: https://bugs.openttd.org/task/4467

@DorpsGek DorpsGek closed this as completed Feb 6, 2011
@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant