Search found 1019 matches

by SlySven
Wed Jun 12, 2013 2:23 pm
Forum: Mudlet Development
Topic: Suspect comparision(?) in TRoom.cpp
Replies: 4
Views: 4729

Re: Suspect comparision(?) in TRoom.cpp

OK so that bit of code needs some lovin' but what IS it testing for? I was thinking some sort detection that the four variables needed initialisation - and its always good that variables get initialised as I heard that all sorts of weirdness results when uninitialised ones get used... :?
by SlySven
Tue Jun 11, 2013 10:38 pm
Forum: Mudlet Development
Topic: Suspect comparision(?) in TRoom.cpp
Replies: 4
Views: 4729

Suspect comparision(?) in TRoom.cpp

I note on line 348 of the current code there are multiple comparisons which throw up multiple GCC warnings: "warning: suggest parentheses around comparison in operand of ‘==’" what are these tests supposed to be establishing - is it equality of all four variables because if I recall C/C++ ...
by SlySven
Mon Jun 10, 2013 4:42 pm
Forum: Mudlet Development
Topic: Problem with ANSI Escape sequences
Replies: 9
Views: 12799

Re: Problem with ANSI Escape sequences

Humm, speaking as a player of a MUD (wotmud.org:2222) that uses the deleting backspace to erase and draw a single new character in the same place (to indicate a running action that takes time to complete: "bash"ing an opponent; using the "One Power" e.g. Magic; etc.) the mess tha...
by SlySven
Fri May 10, 2013 1:02 pm
Forum: Mudlet Mapper
Topic: Mudlet mapper area search
Replies: 5
Views: 6936

Re: Mudlet mapper area search

However you may find an issue with getting all the rooms for just one area in the current git [rev 660?] code, see bug 1174484.

P.S. I don't think you are involving yourself in necromancy here - this thread still has traces of life in it! :lol:
by SlySven
Mon Apr 22, 2013 3:32 am
Forum: Mudlet Development
Topic: [Humour?] For those of us trying to get to grips with C++
Replies: 1
Views: 3102

[Humour?] For those of us trying to get to grips with C++

I found this, and it might just provide some insight for those of us for whom C++ is something we are trying to get the hang of... FQA (Frequently Questioned Answers)
by SlySven
Mon Apr 22, 2013 3:24 am
Forum: Mudlet Mapper
Topic: Extend purpose of Stub Exits
Replies: 3
Views: 5879

Re: Extend purpose of Stub Exits

Well for TinTin++ I had space to put an "!" in one part of the 6x3 character "cell" that was used for for the "detailed" (#MAP FLAG ASCIIGRAPHICS ON) drawing mode by doing pretty much that (though there wasn't "in" or "out" included in the standard e...
by SlySven
Fri Apr 12, 2013 6:05 pm
Forum: Mudlet Mapper
Topic: Extend purpose of Stub Exits
Replies: 3
Views: 5879

Extend purpose of Stub Exits

Currently the UI to add stub exits is via a number code that specifies the direction that a stub on the map is drawn. This takes care of marking an exit in a known direction n, ne,..., nw, up, down, (and "in" & "out" once the map drawing code gets "fixed") - if we w...
by SlySven
Tue Apr 09, 2013 7:27 pm
Forum: Help Forum
Topic: .01 - .01 DOES NOT = 0
Replies: 3
Views: 2578

Re: .01 - .01 DOES NOT = 0

... I get a long integer instead. Looks like this: -3.4694469519536e-018 ... Though I'm still miffed as to why I receive that large number in the first place. Um, actually that is a rather small number - that is of the order of - 0.0000000000000000036 I think and basically come down to the fact you...
by SlySven
Tue Apr 09, 2013 2:43 am
Forum: Mudlet Development
Topic: Hacking around in TLuaInterpreter.cpp
Replies: 2
Views: 3308

Hacking around in TLuaInterpreter.cpp

Can I just check on the use of return values by the various items in this file (not those related to the actual LUA sub-system but the various things that use that sub-system) that have the form: int TLuaInterpreter:: somefunction ( lua_State *L ) functions? As I see it: The return values which seem...
by SlySven
Tue Apr 09, 2013 12:52 am
Forum: Mudlet Development
Topic: Moving Room Description/Notes into main Room Code
Replies: 10
Views: 9677

Re: Moving Room Description/Notes into main Room Code

@Vadi: At least one MUD (with perhaps coders in absentia ) does not offer such interesting features such as GMCP - and keeping track of where you are is an issue, I speak of WoTMUD but I'd be surprised if that was the only one. Comparing your location by Room Name alone doesn't work e.g. you might h...