Welcome, Guest. Please login or register.
December 21, 2024, 06:05:27 pm
Check the old forum > Home Help Login Register
News: --------------------------------
Reddit community:
https://www.reddit.com/r/SolaceMUD/
--------------------------------
solace.senseisoft.com:4000

- Please no drama, no toxic stuff etc. Respect each other. Let everyone play and enjoy.
- Respect legacy of Solace: roleplay.
- Strictly follow ALL RULES.

Consider clans closed for now. Write a role indicating you'd love a certain clan; you might be inducted at some point (don't worry about your level).

Coming soon: a solution for solo mages level grind. Multicharring is NOT allowed (see above about following all rules).

Cheers!

(don't forget to invite friends on other platforms)
--------------------------------
1.5 player is in MUD and chromatic is already stored (c)
--------------------------------
Registration is disabled due to numerous spam bots.


+  Solace MUD Official Forum
|-+  Solace for Serbians
| |-+  Caskanje
| | |-+  TinTin++ exp track
« previous next »
Pages: [1] Print
Author Topic: TinTin++ exp track  (Read 2224 times)
khiren
Lifetime Member
****

Karma: +7/-8
Offline Offline

Posts: 320


Frack off?


« on: September 12, 2014, 10:26:34 pm »

nadjoh jednu skripticu koju sam uspeo da prilagodim za solace

Code:
#list gains clear

#alias {clear} {#list gains clear}

#act {%1 is DEAD!!$} {#var mob %1;get book}

#act {You earn %d experience points.}

{
        #math {gains[$mob][exp]} {$gains[$mob][exp] + %1};
        #math {gains[$mob][cnt]} {$gains[$mob][cnt] + 1}
}

#alias {rip}
{
        #showme {      Average Xp       Total Xp     #   Death List, R.I.P.};
        #showme {----------------------------------------------------------};

        #unvar {gains[final]};

        #foreach {$gains[]} {mob}
        {
                #echo {  %+14G %+14G %+5G   %s}
                        {$gains[$mob][exp] / $gains[$mob][cnt]}
                        {$gains[$mob][exp]}
                        {$gains[$mob][cnt]}
                        {$mob};

                #math gains[final][exp] $gains[final][exp] + $gains[$mob][exp];
                #math gains[final][cnt] $gains[final][cnt] + $gains[$mob][cnt]
        };
        #showme {----------------------------------------------------------};

        #math tmp {$gains[final][exp] / $gains[final][cnt]};

        #echo {  %+14G %+14G %+5G}
                {$tmp}
                {$gains[final][exp]}
                {$gains[final][cnt]}
}


output izgleda ovako nesto



<572/572hp 359/409mana 247/249mv 126580tnl | NESW> rip
      Average Xp       Total Xp     #   Death List, R.I.P.
----------------------------------------------------------
           5,940         11,880     2   A black panther
             168            168     1   A forest nymph
           9,683        116,200    12   A huge black bear
          10,323        165,171    16   A large brown bear
             331            331     1   A large wyvern
             142            142     1   A red-robed mage
          12,394        247,881    20   An elven archer
           6,747          6,747     1   An elven soldier
----------------------------------------------------------
          10,157        548,520    54


<572/572hp 359/409mana 247/249mv 126580tnl | NESW>


clear alias ocisti listu...pa sve na novo Smiley
« Last Edit: September 22, 2014, 06:29:05 pm by khiren » Logged

Just say no!.
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!