Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Odd function not displaying correctly

Odd function not displaying correctly

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Zeno   USA  (2,871 posts)  Bio
Date Mon 30 Aug 2004 07:37 AM (UTC)

Amended on Tue 31 Aug 2004 06:05 PM (UTC) by Zeno

Message
Eh, its late, but not late enough to have me make a big mistake which this seems to be? My score function isn't displaying it correctly. Now, no matter where I stick a send_to_char, ch_printf, etc, it won't show up where its placed. It'll show up at the bottom.

Botton of score:

---------------------------------------------------------------
You feel fine.
Test4.
Test3.
Test2.
Test.



void do_igscore(CHAR_DATA * ch, char *argument)
{
   char            ac[MAX_STRING_LENGTH];
   char            buf[MAX_STRING_LENGTH];

    if (IS_NPC(ch))
    {
        do_oldscore(ch, argument);
        return;
    }


    send_to_char( "&zTest4.\n\r", ch );

I meant, I think this is all I have to say, it should speak for its self.

What the heck is going on here?

[EDIT] Odd. I found out that only some Immortals have this happen. Me and another Immortal.

Yet I have no ifchecks for Imm in the code.
Full score for player:

Zofar the newly born Human.
---------------------------------------------------------------
Level: 80        Race: Hanyou
Class: None      Playtime: 0 hours
Age: 17 years
-------------------------------------------------------
Strength: 0050(0050)      Intelligence: 0015(0015)
Wisdom: 0014(0014)        Dexterity: 0013(0013)
Constitution: 0014(0014)  Charisma: 0014(0014)
-------------------------------------------------------
Align: Neutral  Armor: improper for adventure
Experience: 566,994,850   Experience to next level: 21,805,150
Health: 30 of 30 (100.000000%)
Jakai: 3,632 of 3,632 (100.000000%)
Stamina: 3,792 of 3,792 (100.000000%)
Gold: 4              Practices: 160
Bank: 0            
-------------------------------------------------------
NPC Kills: 0       Player Kills: 0
NPC Deaths: 4      Player Deaths: 0
-------------------------------------------------------
Items: 0 (max: 19)  Weight: 0 (max: 100)
Carried shards: 0
Embedded shards: 0
Total shards: 0
You are standing.
Focusing on: Health  Concentrating on: Nothing
---------------------------------------------------------------
You are LETHAL!


My (Immortal) score:

Zeno McDohl.
---------------------------------------------------------------
Level: 115       Race: Youkai
Class: Combatant  Playtime: 1194 hours
Age: 614 years
-------------------------------------------------------
Strength: 1000(1000)      Intelligence: 0050(0050)
Wisdom: 0020(0020)        Dexterity: 0100(0100)
Constitution: 1000(1000)  Charisma: 0015(0015)
-------------------------------------------------------
Align: Good  Armor: improper for adventure
Experience: 2,000   Experience to next level: 1,749,004,250
Health: 8,576,327 of 9,999,999 (85.763279%)
Jakai: 9,999,999 of 9,999,999 (100.000000%)
Stamina: 999,999,999 of 999,999,999 (100.000000%)
Gold: 450,788,496    Practices: 2
Bank: 50,003,435   
-------------------------------------------------------
NPC Kills: 161     Player Kills: 0
NPC Deaths: 0      Player Deaths: 0
-------------------------------------------------------
Items: 0 (max: 23000)  Weight: 0 (max: 1000000)
Carried shards: 0
Embedded shards: 0
Total shards: 0
Focusing on: Health  Concentrating on: Dexterity
---------------------------------------------------------------
You feel fine.
You are standing.


I couldn't add the score function, it returned "To much data". There is only one line for the bold text, in the code. How can it change like that?

[EDIT2] Ah, it turns out to be a pager problem.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


5,197 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.