SRL Archive - Outdated / Broken

MultiFighter - universal fighter with everything


marpis

2009-05-22 23:39:38

EDIT: Moved to Jr. Members

Sir R. M8gic1an

2009-05-23 00:01:37

nice work.

~RM

marpis

2009-05-23 00:07:20

any hints to make it even better/more efficient?

P1nky

2009-05-23 00:14:28

wow nice dude, was wondering if you have any suggestions where to use for a F2P player (which doesn't need to have too eat much)?

marpis

2009-05-23 00:17:27

From: ~~Joker~~
wow nice dude, was wondering if you have any suggestions where to use for a F2P player (which doesn't need to have too eat much)?


i'll add some good spots to 1st post!

Da 0wner

2009-05-23 02:33:11

One suggestion for the news.

You can use <br> html tags and explode it wtih the <br> as the delimeter and then use a for to do loop to write it in the debug. Ex:
program New;

var
s : string;
TSA : TStringArray;
i, h: integer;

begin
s := 'This<br>is<br>the<br>news.';
TSA := (SRL_)Explode('<br>', s);
h := high(TSA);
for i := 0 to h do
Writeln(TSA[i]);
end.

The above would work in any SCAR version while this:
program New;

begin
Writeln(replace('This<br>is<br>the<br>news.', '<br>', #13));
end.

Would only work in SCAR 3.20+.

ZephyrsFury

2009-05-23 07:28:50

Nice, although one suggestion (just my personal preference and opinion), make your indents 2 spaces. Makes it a lot easier to analyse your code. :)

marpis

2009-05-23 14:30:54

From: Da 0wner
One suggestion for the news.

You can use <br> html tags and explode it wtih the <br> as the delimeter and then use a for to do loop to write it in the debug.


that way i couldn't put there version checker cause it would print it too to the debug?

Sir R. M8gic1an

2009-05-23 21:58:32

gratzs on scripters :)

~RM

marpis

2009-05-24 00:56:45

From: Rasta Magician
gratzs on scripters :)

~RM


whoa a cat :) thanks alot! im so proud! :)
(working on my tut runner btw, it will give me another one ^^)

Naike

2009-05-24 02:11:01

Good work, Really naice.
Not many people with 400 < posts can make an universal fighter.

But for god sakes use proper standards xD

Da 0wner

2009-05-24 02:18:41

Many developers have very few posts and can make this :p.
But they are oldies.

Edit: Marpis, you can put it in the news itself. Or you can use the ending br tag like </ br> (however, that is only required in XHTML, but still).

program New;

var
s : string;
TSA : TStringArray;
i, h: integer;

begin
s := 'This<br>is<br>the<br>news.<ver>1.0';
TSA := Explode('<br>', s);
h := high(TSA);
for i := 0 to h do
begin
if pos('<ver>', TSA[i]) > 0 then
delete(TSA[i], pos('<ver>', TSA[i]), 5 + length(TSA[i]));
Writeln(TSA[i]);
end;
end.
;)

marpis

2009-05-24 10:12:33

From: N1ke!
Good work, Really naice.
Not many people with 400 < posts can make an universal fighter.

But for god sakes use proper standards xD


1 space indents is not improper nor hard to read :rolleyes:
it's the only thing i am doing "wrong"

Da 0wner

2009-05-24 11:30:28

It is improper and hard to read for me :'(.

Naike

2009-05-25 00:13:01

From: marpis
1 space indents is not improper nor hard to read :rolleyes:
it's the only thing i am doing "wrong"


It makes it hard.
If you've been seeing code like that for 2 years and then see 1 spaced = Hard

P1nky

2009-05-25 07:44:30

anyone know a good spot for a PURE in p2p spot?

marpis

2009-05-25 08:49:17

From: ~~Joker~~
anyone know a good spot for a PURE in p2p spot?


does it really matter? ^^
i used to do goblins in security stronghold with my pure

P1nky

2009-05-25 08:55:04

From: marpis
does it really matter? ^^
i used to do goblins in security stronghold with my pure

how much exp a hour ?

marpis

2009-05-25 09:28:23

From: ~~Joker~~
how much exp a hour ?


go try