Welcome to the Builder Academy

Question Where guard

More
25 Dec 2024 10:10 - 25 Dec 2024 20:55 #10489 by JTP
Where guard was created by JTP
hi

If you do a where guard or where sword og something else that there are a lot of, then it makes an overflow.

How could a code change make a pause for every X amount of results ?

It also gives overflow on tbamud.com:9091
Last edit: 25 Dec 2024 20:55 by JTP.

Please Log in or Create an account to join the conversation.

More
26 Dec 2024 21:19 #10490 by cunning
Replied by cunning on topic Where guard
did you make any attempt to find and trace **OVERFLOW**?

Please Log in or Create an account to join the conversation.

More
29 Dec 2024 19:40 - 29 Dec 2024 19:50 #10497 by JTP
Replied by JTP on topic Where guard
I don't have cpu time nor memory to run it other then if a crash and make a core file

But it's ot crashing. But being this is also a TBAmud problem then it would be nice to fix for future update

And also be nice to have fixed in general instead of getting 200 results scolling by
Last edit: 29 Dec 2024 19:50 by JTP.

Please Log in or Create an account to join the conversation.

More
30 Dec 2024 11:18 #10499 by thomas
Replied by thomas on topic Where guard
This sounds like something we should address, yes - it's easily testable :)
We are a little limited by the way paging is handled, but I think we should be able to do something about it.

Please Log in or Create an account to join the conversation.

More
30 Dec 2024 17:11 #10501 by thomas
Replied by thomas on topic Where guard
I made a quick fix in github.com/tbamud/tbamud/commit/5e596c53...037b543588847d5647f6 - and amended it a bit with github.com/tbamud/tbamud/pull/142/files where I added at preference for toggling if you want the rooms of mobs you see carrying/wearing items as well.

Please Log in or Create an account to join the conversation.

Time to create page: 0.270 seconds