Official Soldat Forums
Soldat Fans => Fan Apps => Topic started by: mar77a on November 10, 2007, 07:34:49 pm
-
Hmm, yeah so, here's version 0.2.
(http://img339.imageshack.us/img339/5791/linkz6.png)
Download the source (http://lion.u13.net/~mar77a/cpp/lin/lin.zip)
Compile
g++ lin.cpp -o lin -lncurses -lform
If you want the binary only, it can be downloaded here (http://lion.u13.net/~mar77a/cpp/lin/lin).
Special thanks to Chrisgbk and hollow87. Using ramirez's C++ REFRESH parser (soldatinfo.h).
-
im in ur screenies, stealing ur IPz
-
Is there any way to run scheduled commands ex. /say ?
-
Is there any way to run scheduled commands ex. /say ?
Yoiu are better off using server side scripting for that.
-
Is there any way to run scheduled commands ex. /say ?
Yoiu are better off using server side scripting for that.
Can you recommend any? Couldn't find any script that does scheduled /say command. Arsse is perfect for the adver job, but for some reason my pc starts to freeze up time to time when using arsse and im not running my pc 24/7 like my linux server...
-
procedure AppOnIdle(Ticks: integer);
begin
if Ticks mod (3600 * 5) = 0 then begin //Every 5 minutes
WriteConsole(0, 'Advertisement', RGB(255, 255, 255));
end;
end;
-
I updated it to fix some minor bug.
Here's another screenshot btw (thanks to flippeh):
(http://www.abload.de/img/linjcu.png)
-
What about coloring different info of the player when showing info from REFRESH?
Playername kills deaths ping ip
Like that. Would be great.
-
What about coloring different info of the player when showing info from REFRESH?
Playername kills deaths ping ip
Like that. Would be great.
Not really possible with the way it's programmed.
-
Few suggestions:
a.Would be nice to repeat the last command by pressing cursor-key up etc, a la typical bash
b. command autocomplete
c. connect directly from cli : .e.g user$ ./lin 2wai.soldat.gr 27774 password
Other than that, great work mar77a :)
And the quintessential Spelling Correction: -> Error writting data to socket...
-
a.Would be nice to repeat the last command by pressing cursor-key up etc, a la typical bash
b. command autocomplete
c. connect directly from cli : .e.g user$ ./lin 2wai.soldat.gr 27774 password
Added :)
(http://666kb.com/i/aundf1gcx754cit4k.png)
Here's the new source for v0.3: http://alb.u13.net/~mar77a/cpp/lin/lin3.zip
You can run build.sh or use "g++ lin.cpp -o lin -lncurses -lform" as usual.
-
:o such a fast response! you're the bomb mar77a..
works like a charm :)
edit
added binary for the really lazy ones...
-
If compiling gives you a load of errors, this might help you:
By default the ncurses development libraries aren't installed in ubuntu, to install them type this in your terminal:
sudo apt-get install ncurses-dev
It will automatically select some up to date ncurses.
Looks like a nice piece of programming though, Good job mar77a ;)
-
mar77a, for the sake of presentation, could you add a couple of tabs between the player details?
like so, https://pastee.org/x4k9v
-
Great app!
If you're still developing this, could you please add feature to log the server?
-
Any other ideas? I guess i'll do a minor update with requested features and bug fixes..
-
I've found a bug, but I have to get the output for you...
Let me use Lin for some time, so I can gather bugs and new feature suggestions! :)
Date Posted: August 22, 2008, 06:41:46 am
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
-
If someone still wants to download the src for lin v0.3:
http://lion.u13.net/~mar77a/cpp/lin/lin3.zip (http://lion.u13.net/~mar77a/cpp/lin/lin3.zip)
is the new download location.
Btw I made a fix for Mac OS X and added some stuff.
Changelog lin v0.4:
-fixed deletekey does not work (for mac os x)
-fixed no visible input after deletekey has been pressed (for mac os x)
-added /clientlist command (your nick, client and the versionnumber will be sent)
-added /nick command to change nickname for clientlist reply
-modified commandcompletion and helpfiles (added clientlist and nick command)
-modified versionnumber is now a macro
Changelog lin v0.5:
-fixed ifdefs compile issues
-fixed compile errors because of missing include headers in usocket.h
Sourcecode attached.