bonsai
2013-10-09 00:53:14
2013-10-09 00:53:14
2013-10-09 05:44:53
2013-10-09 06:34:33
2013-10-09 07:16:52
2013-10-09 07:53:04
From: Solar
Nice thread layout. Congrats on the release.
Maybe you could add the files as attachments so that you can see how many downloads each has had? Just a suggestion though. :p
2013-10-09 13:35:00
From: Solar
Nice thread layout. Congrats on the release.
Maybe you could add the files as attachments so that you can see how many downloads each has had? Just a suggestion though. :p
2013-10-09 19:04:48
2013-10-09 23:41:47
2013-10-10 01:10:51
2013-10-10 02:55:46
2013-10-10 04:47:00
From: Rincewind
Nice, scripts are starting to come back! gl on script, I won't use much due to already having maxed combat.
2013-10-10 05:02:12
From: Aph0tix
I want to start scripting for SRL 6 but it seems like there are no tutorials, do you have any advice on how I an start?
2013-10-19 19:39:23
2013-10-25 09:25:56
2013-10-25 18:36:56
2013-10-25 19:22:01
From: m3n4twork
nice scripts,i try even im full in combat but got error,Exception in Script: Unknown declaration "getMouseOverTextCount" at line 414, column 24.
2013-10-25 20:04:07
From: HardcorBoter
Update SRL and that should fix it.
program new;
{$DEFINE SMART}
{$i srl-6/srl.simba}
begin
ClearDebug();
SetupSRL();
players.setup(['TTnick'], 'characters');
currentPlayer := 0;
players[currentPlayer].login();
end.t := getSystemTime() + 5000;tot := getSystemTime() + 2500;
2013-10-26 07:04:58
2013-10-26 08:57:29
From: BottingFTW
—- ERROR: Couldn't find army file(characters)
playername = 'TTnick'; // change this to your username or nickname
playerfile = 'characters'; // change this to your playerfile name
2013-10-26 18:51:23
2013-10-26 19:43:11
From: BottingFTW
Thanks for that, sorry to be such a noob, I'm now getting the following error ->
Exception in Script: Runtime error: "Access violation" at line 1419, column 33
The following bitmaps were not freed: [SMART Debug Image]
I'm useless at scripting, about the only thing I will figure and help with is adding NPCs.
players[currentPlayer].world := desiredWorld;playername = 'TTnick'; // change this to your username or nickname
2013-10-27 10:25:37
2013-10-27 11:04:22
From: BottingFTW
I didn't even realise that I had to create a player through SRL. Done that now, any idea why it finds the colors of my created NPC but will not click attack? The mouse hovers over all the NPC's but just decides to rotate the camera?
2013-10-27 12:59:56
From: bonsai
Yes, that's because of the problems reading mouseover text with the new update.
When it's hovering like that it should be printing mouseovertextcount numbers. Let's say it keeps printing 485. Add 485 to the last array in the npc record you added. For example, below if the corpse mage entry. The 483 below is the mouseover pixel count. The 108 is the count for plain old "Attack" since sometimes thats all they show instead of "attack corpse mage". Make sense?
['Corpse mage',52, 17.1,
5524794, 12, 3.6, 0.44,
['ttack', 'orpse'], 35, 35, 210,
'mrAAAAHichcqxCkAAAEXRJyllUharMiCDMjIpm29mNCkmROJL3JSVV2d4dW1JkyltGLHiwI4TF1qaDjMWbDgxoEdaNXJc7+GHkYIkU5wXz4/KWhbNF+PHuxuG4xEk',
120,
-1, [483, 108]]
2013-10-27 14:32:54
2013-10-27 15:57:17
2013-10-27 17:38:31
'mrAAAAHichcqxCkAAAEXRJyllUharMiCDMjIpm29mNCkmROJL 3JSVV2d4dW1JkyltGLHiwI4TF1qaDjMWbDgxoEdaNXJc7+GHkY IkU5wXz4/KWhbNF+PHuxuG4xEk',2013-10-27 18:11:20
2013-10-27 18:38:56
From: BottingFTW
Ahh okay, well I've been testing for a solid 2 hours, It constantly wants to attack other NPCs. Another thing I have noticed that may be a key in what is going wrong, it believes the monster has been killed and adds to the kill counter. I know this will be a solid script which is why I'm so keen on adding to it lol.
2013-10-27 20:07:50
From: bonsai
That's interesting because it means it found the DTM for a little while. If it doesn't match at all it won't bump the counter.
Here's where that generic DTM is matching, the box edges where the level is displayed.
[ATTACH=CONFIG]22350[/ATTACH]
Can you see if the box moves off the mainscreen area? That's the problem I'm having when using range/magic on a small screen. The DTM leaves the mainscreen and it thinks the fight is over.
I would use the colored bars above your character to see if in-fight but they can stay displayed for a long time after the fight so the kills per hour would go way down.
2013-10-28 21:55:41
2013-10-29 03:00:27
From: HardcorBoter
Thanks for making this! Helped me learn how to draw on smart (by reading your code) :).
2013-10-31 14:43:13
From: BottingFTW
Yes it disappears pretty much straight away as the mouse moves off the NPC. I have tried creating a new DTM for that box too.
2013-10-31 14:46:53