Search found 203 matches

by LordAwsomeness
March 13th, 2020, 5:17 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

Instead of show_if, it is generally possible to use normal if - to not insert the options into message if condition is not true. I do not currently have any good examples, but this is somewhat fitting. https://github.com/ProditorMagnus/Ageless-for-1-14/blob/master/lua/changelogs.lua#L142 If it woul...
by LordAwsomeness
March 13th, 2020, 5:31 am
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

I surrender. I cant do this in wml. Im attempting to learn Lua and its actually making a small amount of sense for once. I just fiddled around with function wml_actions.narrate(cfg) local cfg = cfg.__literal cfg.speaker = "narrator" if not cfg.image then cfg.image = "wesnoth-icon.png&...
by LordAwsomeness
March 12th, 2020, 11:10 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

So I expect you'd want [value] rather than [literal] , if nothing else. Otherwise I'd guess that problem is happening elsewhere in your code, seeing as the la_weapon_data variable doesn't appear anywhere in the code you provided for where the options are created. Hmm I made some changes while you w...
by LordAwsomeness
March 12th, 2020, 11:01 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

because it might cause problems, some parts of the wesnoth might assume that you don't do this and give errors later. gotcha. also whats the point of me making this code if I have to create individual [option]'s for each weapon all over again. I thought that the way this method worked is the foreac...
by LordAwsomeness
March 12th, 2020, 8:57 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

because it might cause problems, some parts of the wesnoth might assume that you don't do this and give errors later. gotcha. also whats the point of me making this code if I have to create individual [option]'s for each weapon all over again. I thought that the way this method worked is the foreac...
by LordAwsomeness
March 12th, 2020, 8:43 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

Also i wouldnt use cooldown as both the naem of a wml node and an attribute (meaing ot using cooldown.max and a name when cooldown is already set as a number) Simply for organization issues? Also I tried swapping out [literal] for [value] instead and it gave me this: <Invalid WML found> [variable] ...
by LordAwsomeness
March 12th, 2020, 8:32 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

So I expect you'd want [value] rather than [literal] , if nothing else. Otherwise I'd guess that problem is happening elsewhere in your code, seeing as the la_weapon_data variable doesn't appear anywhere in the code you provided for where the options are created. Hmm I made some changes while you w...
by LordAwsomeness
March 12th, 2020, 8:06 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

The version on addon server does not load, I had to define some macros to analyze it. The Version on the addons server is dependent on the mother addon. I removed the mother addon last night because I didn't want anybody to download the version 0.3.5a. I needed to get somebody to send me a copy of ...
by LordAwsomeness
March 12th, 2020, 8:03 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

Alright so ive been attempting to give the new code a test run using the concept you gave me: First i create the macro to potentially save time (think of this as the race macro you made) #define LA_WEAPON_SET_VARIABLES_WEAPONS VAR IMAGE BASE_DAMAGE BASE_STRIKES TYPE DEFT DEXTERITY MAGIC STRENGTH NAM...
by LordAwsomeness
March 12th, 2020, 6:15 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

You have to write your code differntly, there is to no general patch to appl toa all situations, you have to do 'programming'. I don't know how your code exactly looks like, but lets take an example of a 'bad' code: Lets assume you want to give a unit hitpoints for money dependent on what race it h...
by LordAwsomeness
March 12th, 2020, 4:30 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

Pentarctagon wrote: March 12th, 2020, 4:19 pm As for #undef, probably not, though it's not good practice to redefine a macro definition without the #undef.
why is that?
And where/when would I use undefine as to avoid creating bugs for my addon?
by LordAwsomeness
March 12th, 2020, 4:09 pm
Forum: Multiplayer Development
Topic: LA_RPG_ERA Feedback and Ideas
Replies: 33
Views: 4281

Re: LA_RPG_ERA Feedback and Ideas

Hello all! Just wanted to quickly update you guys on what's going on. So I have been in contact with several of the developers regarding my add-on and why the multiplayer server has been preventing us from creating multiplayer lobbies. As it turns out, there is a limit to how big the size of a scena...
by LordAwsomeness
March 12th, 2020, 3:51 pm
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

The mp server has a maximum size for the scenarios you can play on it, (size here is the same as savefile size, not the size of the addon on your disk). Since we talked about problems with your addons size in other forum topics already, it is very likely that this is the same problem: Your addon us...
by LordAwsomeness
March 12th, 2020, 3:32 pm
Forum: WML Workshop
Topic: Option limit?
Replies: 36
Views: 2717

Re: Option limit?

After seeing equip_macros.txt, Can u reduce number of macros by using [case] switch for every group of weapons? probably, however ive never tried [case] and switch so I would have to figure that out. EDIT: I would like to use [case] and [switch] for equip_macros.cfg however I dont think it's possib...
by LordAwsomeness
March 12th, 2020, 1:22 am
Forum: WML Workshop
Topic: Connection failed:An existing connection was forcibly closed by the remote host
Replies: 32
Views: 3253

Re: Connection failed:An existing connection was forcibly closed by the remote host

Can you provide the information listed here ? Yes! Operating system: windows 10 home edition Build: The Battle for Wesnoth version 1.14.11 Running on Microsoft Windows 10 (10.0.18362) Distribution channel: Steam Game paths ========== Data dir: C:\Program Files (x86)\Steam\steamapps\common\wesnoth U...