Search found 795 matches

by enclave
Today, 11:38 am
Forum: Users’ Forum
Topic: Making a browser version of wesnoth?
Replies: 24
Views: 1740

Re: Making a browser version of wesnoth?

wml is too great for beginners.. wesnoth would have a lot less custom content if there was no WML... not many people are ready to programm straight into proper languages like lua.. most survivals etc would never happen.. well to be honest I probably wouldn't start making add-ons either (despite i wa...
by enclave
July 17th, 2018, 12:33 pm
Forum: WML Workshop
Topic: Options
Replies: 5
Views: 160

Re: Options

Regarding first_time_only=yes, I'm glad you pointed that out! I don't want this event firing multiple times, either. That'd be strange. :lol: Ah actually you are right probably.. you need it at yes state.. For some reason I thought it would fire for any moveto.. but it will only fire when filter ca...
by enclave
July 16th, 2018, 6:02 pm
Forum: Release Announcements, Compiling & Installation
Topic: Wesnoth 1.14.3
Replies: 12
Views: 8507

Re: Wesnoth 1.14.3

yes both wml.actions.message and wesnoth.delay should not be used during initial [lua] or on_load regarding wesnoth.delay(): the expected behviour is that wesnoth.delay should have no effect during on_load, maybe we forgot to implement this. regaring wml.actions.message: mostly for technical reason...
by enclave
July 16th, 2018, 5:51 pm
Forum: WML Workshop
Topic: Options
Replies: 5
Views: 160

Re: Options

[filter] id=Squid [filter_location] [filter] id=Smith [/filter] radius=1 [/filter_location] [/filter] I'm not 100% sure, but try to change this into: [filter] id=Squid [filter_location] [and] [filter] id=Smith [/filter] [/and] radius=1 [/filter_location] [/filter] To be honest I think your filter s...
by enclave
July 16th, 2018, 12:20 am
Forum: Release Announcements, Compiling & Installation
Topic: Wesnoth 1.14.3
Replies: 12
Views: 8507

Re: Wesnoth 1.14.3

error message appears when loading the savefile 2p — Tombs of Kesorak Turn 1.gz and is crashing wesnoth. w.jpg The cause of the crash seems to be the wesnoth.delay() on_load And very likely wesnoth.fire("message",...) gives a different kind of crash too... :( part of my on_load code: local old_on_lo...
by enclave
July 15th, 2018, 10:15 pm
Forum: Lua Labs
Topic: enclave's Lua thread
Replies: 220
Views: 25428

Re: enclave's Lua thread

yes the is afaik no way to to know on which turn the save was done when loading a replay. What could maybe work do is to store the current time in the replay start, (assuming that on_save is also called when [replay_start] is created, not sure on that) and then refuse to load of that happend less t...
by enclave
July 15th, 2018, 9:39 pm
Forum: Lua Labs
Topic: enclave's Lua thread
Replies: 220
Views: 25428

Re: enclave's Lua thread

yes the is afaik no way to to know on which turn the save was done when loading a replay. What could maybe work do is to store the current time in the replay start, (assuming that on_save is also called when [replay_start] is created, not sure on that) and then refuse to load of that happend less t...
by enclave
July 13th, 2018, 11:56 am
Forum: Technical Support
Topic: Save the Saves?
Replies: 6
Views: 299

Re: Save the Saves?

But where to find the save files there as well? No idea if link provided by Ravana is up to date with 1.14 so here is where the savefile are kept on my computer: C:\Users\Admin\Documents\My Games\Wesnoth1.14\saves Same as Ravana I have no idea how campaigns savefiles are recorded and where they are...
by enclave
July 13th, 2018, 11:51 am
Forum: Users’ Forum
Topic: Ladder
Replies: 2
Views: 292

Re: Ladder

its independent web page where u can register to be able to take part in their ranking system, registered players can play 1v1 against other registered players and report their wins. For the wins they get points, if they lose they lose points. The points determine their position in top10 or just ove...
by enclave
July 10th, 2018, 1:33 pm
Forum: Lua Labs
Topic: enclave's Lua thread
Replies: 220
Views: 25428

Re: enclave's Lua thread

Ravana wrote:
July 9th, 2018, 2:38 pm
If you know how to run command with different system time, then you know how to unpack savefiles and analyse them directly.
i was thinking that system time could be changed just with right clicking on time in bottom right corner of windows?
by enclave
July 9th, 2018, 2:21 pm
Forum: Lua Labs
Topic: enclave's Lua thread
Replies: 220
Views: 25428

Re: enclave's Lua thread

gfgtdf thanks so much! it's a great idea! I will give it a try and report back! Yeah removing cheating completely is impossible, I will not even go into details for all possible ways, but numbers of cheaters could be reduced by implementing some basic protection... for example when statistics were b...
by enclave
July 8th, 2018, 11:51 am
Forum: Users’ Forum
Topic: Making a browser version of wesnoth?
Replies: 24
Views: 1740

Re: Making a browser version of wesnoth?

yeah.. I dont think you would get much support for creating something that already exists in existing community.. It would only be useful for people who never tried wesnoth, and possibly you dont get a huge support from developers either because it will kind of be not their project and they will hav...
by enclave
July 6th, 2018, 9:15 pm
Forum: Lua Labs
Topic: enclave's Lua thread
Replies: 220
Views: 25428

Re: enclave's Lua thread

One should probably start with examining the replay files themselves, perhaps there is some variable you could retrieve that stores the last turn. when i looked I couldn't find anything useful with my level of knowledge. I hope gfgtdf or somebody with highest level of Wesnoth knowledge could confir...
by enclave
July 6th, 2018, 7:25 pm
Forum: Lua Labs
Topic: enclave's Lua thread
Replies: 220
Views: 25428

Re: enclave's Lua thread

Maybe just corrupt the replay and create your secret script to fix it that could run in ladder server. I guess you mean to create some code using separate software (like PHP, javascript, c++, excel VBA, delphi, python etc), to be able to modify the replay file directly myself to fix the neverending...
by enclave
July 6th, 2018, 11:59 am
Forum: Lua Labs
Topic: enclave's Lua thread
Replies: 220
Views: 25428

Re: enclave's Lua thread

Hi, Anyone knows what variables I could access with wesnoth.game_events.on_load for replays? Mainly, could I possible find out the number of total turns replay has on_load? Or could it get the variable value from eg. turn 10 on_load? Secondly, could I modify any kind of global variable with wesnoth....