Search found 52 matches

by quietlyquietly
27 Aug 2025, 20:19
Forum: Support & Bug reports
Topic: Addyt Hall manager script
Replies: 2
Views: 2769

Re: Addyt Hall manager script

I get crashes all the time in testing so it is obvious that not much can be trusted in tmwAthena doing its own crash prevention. So, I tested the presence of the player right before trying to access their vars, because that would probably crash the server too. The problem is that there is a third pe...
by quietlyquietly
27 Aug 2025, 19:58
Forum: Contributing & Testing
Topic: menu cannot handle item list
Replies: 3
Views: 3588

Re: menu cannot handle item list

I can not figure out why functions have been removed, just because they were not being currently used ? If they were not being used, they were not bothering anyone. What really is needed: Make menu command not choke on seeing color change syntax in its menu string. Make menu command notice that the ...
by quietlyquietly
22 Aug 2025, 07:56
Forum: Contributing & Testing
Topic: Script reference Version 1.02
Replies: 13
Views: 3704

Re: Script reference Version 1.02

I have been using
void call( "func_name", p1, p2 );
as that is the only way to stop the error messages.

I will look at the rest for inclusion in the script reference. I assume you do not object to that.

by quietlyquietly
22 Aug 2025, 07:36
Forum: Contributing & Testing
Topic: menu cannot handle item list
Replies: 3
Views: 3588

menu cannot handle item list

I am working on scripts for tmwAthena, which need to ask players to select an item from a list. This occurs in multiple places. The problem is that the item names come from getiteminfo, and they have this red color. The menu cannot handle this, and has treated them as empty, or displays "@@&quo...
by quietlyquietly
20 Aug 2025, 13:37
Forum: Support & Bug reports
Topic: variables go away
Replies: 17
Views: 4152

Re: variables go away

Don't need a whole database, just need indexed file read and write. If you say database, then someone will want to make all variables in the database, which would make everything more complicated and all scripts run slower. It does not matter if the indexed file read is slow, it is only done at the ...
by quietlyquietly
18 Aug 2025, 08:41
Forum: Support & Bug reports
Topic: variables go away
Replies: 17
Views: 4152

Re: variables go away

And still annoying. In the Addyt Hall scripts, I had to resort to using player temps to do anything when menus or input are being executed. This is nasty enough that I have to leave comments in the script, otherwise won't know later why the weird variable usage was done. The variables that go away a...
by quietlyquietly
18 Aug 2025, 04:52
Forum: Contributing & Testing
Topic: Script reference Version 1.02
Replies: 13
Views: 3704

Re: Script reference Version 1.04

V1.04 Part 4 //---- Conditional constructs >> void Does nothing, successfully. >> goto <label> Labels must start with "L_", or "S_". >> if_then_else <bool_expr>, <true_result>, <false_result> When <bool_expr> is TRUE, it returns the <true_result>, otherwise it returns the <false_...
by quietlyquietly
18 Aug 2025, 04:49
Forum: Contributing & Testing
Topic: Script reference Version 1.02
Replies: 13
Views: 3704

Re: Script reference Version 1.04

V1.04 Part3 //---- ---- Builtin functions identified from reading script code. //---- Var assign support >> get( <var>, <npcid> ) The <npcid> (not optional) can be a name or numeric id. Return the <var> value read from the NPC, or player. Return -1 when access fails. Return 0, or empty string, when ...
by quietlyquietly
18 Aug 2025, 04:47
Forum: Contributing & Testing
Topic: Script reference Version 1.02
Replies: 13
Views: 3704

Re: Script reference Version 1.04

V1.04 Part 2 //---- ---- Notes // Integer Operators The following operators are accepted. // Arith operators + add, - subtract, * multiply, / divide // Bit operators & bit and | bit or ~ bit complement >> right shift by int << left shift by int // Logic operators && logic and || logic or...
by quietlyquietly
18 Aug 2025, 04:45
Forum: Contributing & Testing
Topic: Script reference Version 1.02
Replies: 13
Views: 3704

Re: Script reference Version 1.04

This is Script reference "script_tmwAthena_v1.04". This is my personal document and not an official document of Manaplus. It is still a work in progress, and some bits are incomplete. Part 1. // Script reference for tmwAthena. // Version: 1.04 // Author: quietlyquietly // Date: 2025-04-15 ...
by quietlyquietly
17 Aug 2025, 05:02
Forum: Support & Bug reports
Topic: Addyt Hall manager script
Replies: 2
Views: 2769

Addyt Hall manager script

The following is the Addyt Hall manager script. It fails in one respect because the get() function will not fetch another player's authorization. I seek a work around. Also, this seeks approval of using the Addyt_GM variable for Addyt Hall manager status. As it is an entity within the Manaworld, it ...
by quietlyquietly
27 Jun 2025, 07:24
Forum: Contributing & Testing
Topic: How to push to GIT repository.
Replies: 10
Views: 3052

Re: How to push to GIT repository.

That second version of the same link is still: 404 page not found. I can copy/paste it just fine, or even click on it, and I still get 404. https://git.themanaworld.org/tmw/tmwa/-/merge_requests I tried: https://git.themanaworld.org/tmw/tmwa/merge_requests which redirected to: https://git.themanawor...
by quietlyquietly
26 Jun 2025, 07:04
Forum: Contributing & Testing
Topic: How to push to GIT repository.
Replies: 10
Views: 3052

Re: How to push to GIT repository.

Force pushed to tmwAthena_qq. GIT was refusing to allow my commit earlier, I did not know why or what to do about it, so I did try --amend because this seemed like it would amend the previous qq001. I really do not know why GIT refused the commit (it was a simple edit to remove the old code), why --...
by quietlyquietly
25 Jun 2025, 11:06
Forum: Contributing & Testing
Topic: How to push to GIT repository.
Replies: 10
Views: 3052

Re: How to push to GIT repository.

I edit the patch again to remove the old code. Had to add the file because GIT refused to commit my edits. git add src/map/script-fun.cpp git commit -m "qq001 remove old code" git diff master qq001 > ../git_patches/qq001d.diff git push tmwAthena_qq qq001 [ [ rejected] qq001 --> qq001 (non-...
by quietlyquietly
25 Jun 2025, 10:09
Forum: Contributing & Testing
Topic: How to push to GIT repository.
Replies: 10
Views: 3052

Re: How to push to GIT repository.

Maybe this URL could help: https://git.themanaworld.org/tmw/tmwa/- ... quests/new ===> 404, not found. The instructions for issuing a merge request seems to be missing the context where this is done. I have to guess that the only place where it might make sense is if I change to the tmwAthena master...