Go to the bottom | Channel Index

first << < 148 149 150 151 152 153 154 155 156 157 158 > >> last
Sun May 31 06:58:16 2009 [dead_souls] Tahin@Kar Unol: Oh, no. Let me look. Thanks. 
Sun May 31 07:01:11 2009 [dead_souls] Tahin@Kar Unol: Hm... It's not writing anything to runtime or catch. 
Sun May 31 07:04:31 2009 [dead_souls] Newt@shadowmuddev: so, just the south only exits? 
Sun May 31 07:04:43 2009 [dead_souls] Tahin@Kar Unol: Yeah. It's perplexing. 
Sun May 31 07:05:06 2009 [dead_souls] Tahin@Kar Unol: It's supposed to be creating all eight cardinal exits unless they lead to a dropoff or cliff. 
Sun May 31 07:05:39 2009 [dead_souls] Tahin@Kar Unol: And no, it's not an issue with my heightmap. I can teleport to the appropriate room and it works fine. 
Sun May 31 07:07:34 2009 [dead_souls] Tahin@Kar Unol: Thanks for looking at it, by the way. I'm really stumped. 
Sun May 31 07:13:27 2009 [dead_souls] Newt@shadowmuddev: I'm not seeing the prob....and I assume Crat wasn't either by his reply. *shrug*  Maybe in how valid_exits is calculated? 
Sun May 31 07:13:56 2009 [dead_souls] Tahin@Kar Unol: Perhaps. It's been working fine up until this point... 
Sun May 31 07:14:27 2009 [dead_souls] Tahin@Kar Unol: It seems like some fundamental logic problem, but I really can't see anything. God I hate this bug. 
Sun May 31 07:17:17 2009 [dead_souls] Newt@shadowmuddev: since it's only giving south exits, I'm betting that it's in the valid_exits deal....my only suggestion if you can't find it is to post _complete_ code and see if that helps 
Sun May 31 07:18:16 2009 [dead_souls] Tahin@Kar Unol: Yeah. That might help, but I'm pretty sure it's centralized to that function as that's really the only one that I changed, and it's the only thing that affects the exit generation. 
Sun May 31 07:32:26 2009 [dead_souls] Deklax@Evolution: that foreach seems fine bugs like that are usually very obvious but not where your looking =P 
Sun May 31 07:34:18 2009 [dead_souls] Tahin@Kar Unol: Hm... Where would you suggest I look? 
Sun May 31 07:37:07 2009 [dead_souls] Tahin@Kar Unol: It seems to be failing at if(WORLD_D->GetRoom(x,y,z) && WORLD_D->GetRoom(x,y,z)[exit] == 1) AND then ignoring the else statement... 
Sun May 31 07:37:17 2009 [dead_souls] Tahin@Kar Unol: Which is absolutely bizarre. 
Tue Jun  2 00:21:24 2009 [dead_souls] Salabena@ZeroState: Hey Cratylus you around? 
Tue Jun  2 00:21:34 2009 [dead_souls] Cratylus@Dead Souls Dev: hi 
Tue Jun  2 00:21:39 2009 [dead_souls] Salabena@ZeroState: fantastic 
Tue Jun  2 00:22:02 2009 [dead_souls] Kalinash@Fire and Ice: crat's more pear shaped 
Tue Jun  2 00:22:13 2009 [dead_souls] Salabena@ZeroState: I have a wiz-coder type coming around to kick the tires in a bit and I noticed that 2.10 is out and I see there is a live update command 
Tue Jun  2 00:22:51 2009 [dead_souls] Kalinash@Fire and Ice: make sure your mud is properly inflated to 40psi 
Tue Jun  2 00:23:50 2009 [dead_souls] Salabena@ZeroState: yeah I didn't want to "try" a liveupdate and then have the MUD croak so wanted to check in before the stupidfactor took over 
Tue Jun  2 00:24:06 2009 [dead_souls] Salabena@ZeroState: ...more than it already has 
Tue Jun  2 00:24:12 2009 [dead_souls] Kalinash@Fire and Ice: backup, backup, backup 
Tue Jun  2 00:26:15 2009 [dead_souls] Cratylus@Dead Souls Dev: what kali said 
Tue Jun  2 00:26:22 2009 [dead_souls] Cratylus@Dead Souls Dev: or ibstall frsh 
Tue Jun  2 00:30:44 2009 [dead_souls] Cratylus@Dead Souls Dev: bbl dnr 
Tue Jun  2 00:31:05 2009 [dead_souls] Kalinash@Fire and Ice: SOMEONE STOLE CRAT'S VOWELS! 
Tue Jun  2 00:38:28 2009 [dead_souls] Salabena@ZeroState: ok that was a fun exercise 
Tue Jun  2 00:38:40 2009 [dead_souls] Salabena@ZeroState: any way to get 2.10 with the live upgrade 
Tue Jun  2 00:45:14 2009 [dead_souls] Cratylus@Dead Souls Dev: what problem did you have? 
Tue Jun  2 05:24:21 2009 [dead_souls] Eru@Dead_Souls_DemonGate: is env local to the specific user 
Tue Jun  2 19:10:39 2009 [dead_souls] Eru@ZeroState: anyone available for a help question 
Tue Jun  2 19:11:06 2009 [dead_souls] Deklax@Evolution: yes but you just used it up. 
Tue Jun  2 19:11:17 2009 [dead_souls] Eru@ZeroState: I'm sorry i don't understand the answer 
Tue Jun  2 19:11:24 2009 [dead_souls] Eru@ZeroState: :-) 
Tue Jun  2 19:11:26 2009 [dead_souls] Deklax@Evolution: what is the question? 
Tue Jun  2 19:11:30 2009 [dead_souls] Eru@ZeroState: thanks 
Tue Jun  2 19:12:35 2009 [dead_souls] Eru@ZeroState: I've been reading the help files and I'd like to makds ahh protocol thanks Cratylus 
Tue Jun  2 19:13:09 2009 [dead_souls] Cratylus@Dead Souls Dev: eur question speak now what say hello 
Tue Jun  2 19:13:23 2009 [dead_souls] Eru@ZeroState: I've been reading the help files and it says "don't touch o files" I'd like to make changes in my wiz char - any clue to a help file how to do that would be appreciated 
Tue Jun  2 19:13:34 2009 [dead_souls] Cratylus@Dead Souls Dev: the answer is dont do it 
Tue Jun  2 19:13:44 2009 [dead_souls] Cratylus@Dead Souls Dev: experiment with a test char not your wiz char 
Tue Jun  2 19:14:18 2009 [dead_souls] Eru@ZeroState: oh yeah no doubt about the experiment part - i though perhaps there was a tool that keeps the info in the persistant format required 
Tue Jun  2 19:14:34 2009 [dead_souls] Cratylus@Dead Souls Dev: not really. what exactly is the change you want to make? 
Tue Jun  2 19:15:16 2009 [dead_souls] Eru@ZeroState: well I mothballed my First Admin and created ... sorry spam is blinding my prompt let me make a change 
Tue Jun  2 19:15:44 2009 [dead_souls] Eru@ZeroState: ...created my 2nd full admin and he's unaccomplished and stuff like that 
Tue Jun  2 19:16:02 2009 [dead_souls] Eru@ZeroState: I don't care for now but when Players eventually start showing up I'd like that all changed 
Tue Jun  2 19:17:10 2009 [dead_souls] Cratylus@Dead Souls Dev: ok well use the title command to change his title 
Tue Jun  2 19:17:37 2009 [dead_souls] Cratylus@Dead Souls Dev: as to how new players show up, take a look at connect.c and player.c 
Tue Jun  2 19:17:44 2009 [dead_souls] Eru@ZeroState: thanks 
Tue Jun  2 19:17:51 2009 [dead_souls] Cratylus@Dead Souls Dev: np 
Tue Jun  2 19:17:54 2009 [dead_souls] Deklax@Evolution: There is a good post on the forum about login path as well 
Tue Jun  2 19:55:03 2009 [dead_souls] Ideysus@shadowmudii: I suggest editing o files by hand. Just to spite Cratylus. 
Tue Jun  2 19:55:27 2009 [dead_souls] Eru@ZeroState: I already have thanks, does water put out fires in a server or would sand be better 
Tue Jun  2 19:56:04 2009 [dead_souls] Ideysus@shadowmudii: Get some bellows to... uhhh... blow it out. 
Tue Jun  2 19:56:07 2009 [dead_souls] Kalinash@Fire and Ice: halon 
Tue Jun  2 19:56:18 2009 [dead_souls] Eru@ZeroState: would a shop fan work better than bellows 
Tue Jun  2 19:56:20 2009 [dead_souls] Kalinash@Fire and Ice: and stay in the room to make sure it works 
Tue Jun  2 19:56:55 2009 [dead_souls] Eru@ZeroState: ok thanks - I'm getting a little whoozy from the smoke so talk later 
Wed Jun  3 12:48:02 2009 [dead_souls] Maynard@AoD TempMUD: wow, TMI was fairly forward thinking to include an emo channel 15 or however many years ago 
Thu Jun  4 06:32:53 2009 [dead_souls] Tahin@Kar Unol: Okay, as far as I can tell it's completely ignoring every exit except south. I ran into an issue similar to this before where it would refuse to run the heart_beat() function if it made reference to a specific variable or another function that made reference to it, and I solved it by renaming the function in question and calling it from another object. Anyway, could this be a driver issue? What do you suggest I do? 
Thu Jun  4 16:39:52 2009 [dead_souls] Detah@Dead Souls Dev: anyone know of a mud which has multiplayer problems? I am trying to figure out what kinds of designs are multiplayer incentives. Do admin really create areas/monsters which can only be won/killed by race X? I cant think of another scenario where design incites multiplaying. 
Thu Jun  4 19:41:11 2009 [dead_souls] Detah@Dead Souls Dev: is there a write/eventPrint/tell_room which does not hardreturn at the end? 
Thu Jun  4 19:51:09 2009 [dead_souls] Cratylus@Dead Souls Dev: try write2() 
Thu Jun  4 19:52:13 2009 [dead_souls] Detah@Dead Souls Dev: I did it the bruteforce way. I remember Wodan saying that += is not prefered in loops. so I was hoping to avoid that. but for now I used it. 
Thu Jun  4 19:52:16 2009 [dead_souls] Detah@Dead Souls Dev: eval int i, freq; string out; freq=7; out="["; for(i=0; i<freq; i++) { out+="*"; } for(i=0; i<3; i++) { out+=" "; } out+="]"; return out; 
Thu Jun  4 19:52:25 2009 [dead_souls] Cratylus@Dead Souls Dev: hi 
Thu Jun  4 19:53:36 2009 [dead_souls] Detah@Dead Souls Dev: eval int i, freq, res; string out; freq=7; res=10-freq; out="["; for(i=0; i<freq; i++) { out+="*"; } for(i=0; i<res; i++) { out+=" "; } out+="]"; return out; 
Thu Jun  4 19:53:44 2009 [dead_souls] Detah@Dead Souls Dev: ekk. sorry 
Thu Jun  4 19:54:18 2009 [dead_souls] Cratylus@Dead Souls Dev: i dont know what problem youre solving 
Thu Jun  4 19:55:44 2009 [dead_souls] Detah@Dead Souls Dev: I am using += in both of my for loops. Wodan had said that thisis inefficient. So I was hoping there was some efun alternative that was more efficient. hearing none, I just used the bruteforce += method. 
Thu Jun  4 19:56:10 2009 [dead_souls] Cratylus@Dead Souls Dev: yes but what is this for 
Thu Jun  4 19:56:21 2009 [dead_souls] Detah@Dead Souls Dev: score output stuff. 
Thu Jun  4 19:56:44 2009 [dead_souls] Detah@Dead Souls Dev: probably intox, and thirst mostly. 
Thu Jun  4 19:56:56 2009 [dead_souls] Detah@Dead Souls Dev: er. intox and hunger. 
Thu Jun  4 19:57:01 2009 [dead_souls] Cratylus@Dead Souls Dev: sry im not getting it 
Thu Jun  4 19:57:30 2009 [dead_souls] Cratylus@Dead Souls Dev: yer trying to do something im not so i dont understand the solution yer trying 
Thu Jun  4 19:57:32 2009 [dead_souls] Detah@Dead Souls Dev: its just generating a bar for a numeric which is unseen by the player. 
Thu Jun  4 19:58:03 2009 [dead_souls] Detah@Dead Souls Dev: the bar is seen [*****     ] by the player. the actual number 52% Intox is not seen by the player. 
Thu Jun  4 19:58:09 2009 [dead_souls] Cratylus@Dead Souls Dev: oh a health meter 
Thu Jun  4 19:58:16 2009 [dead_souls] Cratylus@Dead Souls Dev: whyincha say so 
Thu Jun  4 19:58:40 2009 [dead_souls] Cratylus@Dead Souls Dev: man repeat_string 
Thu Jun  4 19:59:13 2009 [dead_souls] Detah@Dead Souls Dev: There will probably be about 10 to 12 of those in my score screen. so if += is bad, doing it 12 times is probably really bad. hehe. 
Thu Jun  4 19:59:39 2009 [dead_souls] Tigwyk@LP Heroes: You can check out the health meter code I put up on the forums. 
Thu Jun  4 19:59:44 2009 [dead_souls] Detah@Dead Souls Dev: YES. repeat_string. ty!!!!! 
Thu Jun  4 20:02:03 2009 [dead_souls] Detah@Dead Souls Dev: WOOHOO. 
Thu Jun  4 20:02:06 2009 [dead_souls] Detah@Dead Souls Dev: eval int freq, res; string out; freq=5; res=10-freq; out="["+repeat_string("*",freq)+repeat_string(" ",res)+"]"; return out; 
Thu Jun  4 20:02:18 2009 [dead_souls] Deklax@Evolution: much better 
Thu Jun  4 20:02:30 2009 [dead_souls] Tigwyk@LP Heroes: :) 
Thu Jun  4 20:03:57 2009 [dead_souls] Deklax@Evolution: I just checked out Tigwyk's health bar code on the forums might be exactly what your looking for Detah 
Thu Jun  4 20:09:07 2009 [dead_souls] Tigwyk@LP Heroes: Interesting. For a while there I was using convert_ascii(127) to get a neato character for my health meter. 
Thu Jun  4 20:09:14 2009 [dead_souls] Tigwyk@LP Heroes: Now it returns a blank. 
Thu Jun  4 20:09:19 2009 [dead_souls] Tigwyk@LP Heroes: so I'm switching back to asterisks 
Thu Jun  4 20:13:17 2009 [dead_souls] Detah@Dead Souls Dev: colored version eval int freq, res; string out; freq=5; res=10-freq; out="["+repeat_string("*",freq)+repeat_string(" ",res)+"]"; return out; 
Thu Jun  4 20:13:29 2009 [dead_souls] Detah@Dead Souls Dev: um. hehe. 
Thu Jun  4 20:13:55 2009 [dead_souls] Detah@Dead Souls Dev: close spaces. eval int freq, res; string out; freq=5; res=10-freq; out="WH ITE["+repeat_string("GRE EN*",freq)+repeat_string(" ",res)+"WH ITE]RES ET"; return out; 
Thu Jun  4 20:14:17 2009 [dead_souls] Detah@Dead Souls Dev: hmm. thats interesting. 
Thu Jun  4 20:15:54 2009 [dead_souls] Tigwyk@LP Heroes: %^ ? 
Thu Jun  4 20:16:20 2009 [dead_souls] Detah@Dead Souls Dev: yeah. they got stripped out by either zmud or ds. not sure which. 
Thu Jun  4 20:16:38 2009 [dead_souls] Tigwyk@LP Heroes: ds. 
Thu Jun  4 20:16:44 2009 [dead_souls] Tigwyk@LP Heroes: Do doubles. % % ^ ^, without spaces. 
Thu Jun  4 20:16:51 2009 [dead_souls] Tigwyk@LP Heroes: if you want to show' em 
Thu Jun  4 20:17:19 2009 [dead_souls] Tigwyk@LP Heroes: %^RED%
Thu Jun  4 20:17:27 2009 [dead_souls] Detah@Dead Souls Dev: close spaces. eval int freq, res; string out; freq=5; res=10-freq; out="["+repeat_string("*",freq)+repeat_string(" ",res)+"]"; return out; 
Thu Jun  4 20:17:41 2009 [dead_souls] Detah@Dead Souls Dev: no love 
Thu Jun  4 20:18:00 2009 [dead_souls] Tigwyk@LP Heroes: heh 
Thu Jun  4 20:19:02 2009 [dead_souls] Detah@Dead Souls Dev: looks good on my screen tho. 
Thu Jun  4 21:59:12 2009 [dead_souls] Tahin@Kar Unol: So, under what circumstances might a foreach "miss" certain elements of an array? 
Thu Jun  4 21:59:20 2009 [dead_souls] Tahin@Kar Unol: Because that appears to be what is happening with my code... 
Thu Jun  4 22:02:44 2009 [dead_souls] Tahin@Kar Unol: Anyone have any idea? 
Thu Jun  4 22:04:19 2009 [dead_souls] Kalinash@Fire and Ice: horrible, horrible driver bug just before it crashes and burns 
Thu Jun  4 22:04:30 2009 [dead_souls] Zaknafein@AoD TempMUD: it shouldn't, have you outputted the array itself and check to make sure what you think should be contained in the array actually is? 
Thu Jun  4 22:04:35 2009 [dead_souls] Tahin@Kar Unol: Yeah. 
Thu Jun  4 22:04:50 2009 [dead_souls] Kalinash@Fire and Ice: are there mixed types in the array? 
Thu Jun  4 22:05:11 2009 [dead_souls] Tahin@Kar Unol: I have it looping through the array and debug()ing each member right before I have the foreach that's bugging out. And they're all strings. 
Thu Jun  4 22:05:29 2009 [dead_souls] Tahin@Kar Unol: It's a keys() of a mapping, if that might screw something up. 
Thu Jun  4 22:05:43 2009 [dead_souls] Kalinash@Fire and Ice: as crat would say... "Post Kode" 
Thu Jun  4 22:05:53 2009 [dead_souls] Tahin@Kar Unol: I did. 
Thu Jun  4 22:05:55 2009 [dead_souls] Kalinash@Fire and Ice: :) 
Thu Jun  4 22:06:11 2009 [dead_souls] Tahin@Kar Unol: He told me to use some debug statements, and I've narrowed it down to the foreach missing certain members. 
Thu Jun  4 22:06:23 2009 [dead_souls] Kalinash@Fire and Ice: what's the title of your post? 
Thu Jun  4 22:06:30 2009 [dead_souls] Tahin@Kar Unol: Let me grab the link. 
Thu Jun  4 22:07:00 2009 [dead_souls] Tahin@Kar Unol: Thanks for helping. I'm so confused... 
Thu Jun  4 22:10:57 2009 [dead_souls] Kalinash@Fire and Ice: well, the first thing I'd do is separate the declaration from the assingment of ex, ey, ea and that_height at the beginning of the foreach loop, then debug print the value of 'exit' 
Thu Jun  4 22:11:21 2009 [dead_souls] Kalinash@Fire and Ice: next i'd add debug statements "spot 1", "spot 2", etc after every statement 
Thu Jun  4 22:11:38 2009 [dead_souls] Kalinash@Fire and Ice: then look at the output and see if you're getting the values you expect or any abnormal loop exits 
Thu Jun  4 22:12:05 2009 [dead_souls] Kalinash@Fire and Ice: i'm 99.999% sure you're hitting a driver bug with that foreach() over the array returned by keys(). 
Thu Jun  4 22:12:10 2009 [dead_souls] Kalinash@Fire and Ice: NOT hitting 
Thu Jun  4 22:12:26 2009 [dead_souls] Kalinash@Fire and Ice: (i said the not on my head... fingers didn't listen) 
Thu Jun  4 22:12:44 2009 [dead_souls] Tahin@Kar Unol: Wait, so how would I separate the declaration from the assignment of those variables? 
Thu Jun  4 22:13:36 2009 [dead_souls] Kalinash@Fire and Ice: instead of "int ex = x + valid_exits[exit][0];", you have one line that's "int ex;" and another line that's "ex = x + valid_exits[exit][0];" 
Thu Jun  4 22:13:44 2009 [dead_souls] Tahin@Kar Unol: Ah. 
Thu Jun  4 22:14:00 2009 [dead_souls] Tahin@Kar Unol: I see what you mean. That can actually cause issues? 
Thu Jun  4 22:14:03 2009 [dead_souls] Kalinash@Fire and Ice: the 'problem' is that you can't have code before variables and if you want to verify the value of 'exit' before any possible errors, you need to seperate those 
Thu Jun  4 22:14:28 2009 [dead_souls] Tahin@Kar Unol: I see. Oops. 
Thu Jun  4 22:14:44 2009 [dead_souls] Kalinash@Fire and Ice: nothing wrong with the way you have it 
Thu Jun  4 22:14:52 2009 [dead_souls] Kalinash@Fire and Ice: just need to change it around to debug 
Thu Jun  4 22:16:26 2009 [dead_souls] Tahin@Kar Unol: Oh, I thought there was an issue with having assignment mixed in with declaration. That makes sense, though. 
Thu Jun  4 22:17:24 2009 [dead_souls] Kalinash@Fire and Ice: nope, that's perfectly valid 
Thu Jun  4 22:18:55 2009 [dead_souls] Tahin@Kar Unol: Okay, so I int ex, ey, ez, that_height; debug("Running: " + exit); and I'm still only seeing south. 
Thu Jun  4 22:19:03 2009 [dead_souls] Tahin@Kar Unol: I /have/ int... 
Thu Jun  4 22:20:06 2009 [dead_souls] Tahin@Kar Unol: It's properly looping through the exits and debugging each string right before that foreach, using a foreach, so there's something in there it's not liking. 
Thu Jun  4 22:21:02 2009 [dead_souls] Tahin@Kar Unol: If it helps, I had a heart_beat() function a while ago that was completely refusing to run every time I made reference to a specific mapping, and I had to rename the function and call it from the heart_beat() in a child object to get it working. 
Thu Jun  4 22:21:07 2009 [dead_souls] Tahin@Kar Unol: That might be related. 
Thu Jun  4 22:21:16 2009 [dead_souls] Kalinash@Fire and Ice: put a debug("Got here"); after the end of the foreach loop, just before that SetClimate call 
Thu Jun  4 22:22:07 2009 [dead_souls] Tahin@Kar Unol: Eeeeenteresting. 
Thu Jun  4 22:22:12 2009 [dead_souls] Kalinash@Fire and Ice: oh... just for grins, rename that mapping from valid_exits to my_valid_exits throughout your file 
Thu Jun  4 22:22:24 2009 [dead_souls] Deklax@Evolution: what exactly is 'digging_d'? 
Thu Jun  4 22:22:28 2009 [dead_souls] Deklax@Evolution: its function 
Thu Jun  4 22:22:44 2009 [dead_souls] Tahin@Kar Unol: It's the old name for a daemon I was using. 
Thu Jun  4 22:23:01 2009 [dead_souls] Kalinash@Fire and Ice: interesting? 
Thu Jun  4 22:23:05 2009 [dead_souls] Tahin@Kar Unol: I renamed it to WORLD_D after I expanded it to handle terrain and such. 
Thu Jun  4 22:23:07 2009 [dead_souls] Deklax@Evolution: oh i see 
Thu Jun  4 22:23:09 2009 [dead_souls] Deklax@Evolution: very interesting 
Thu Jun  4 22:23:23 2009 [dead_souls] Tahin@Kar Unol: It's not showing the "Got here" even though I have the debug in there. 
Thu Jun  4 22:23:36 2009 [dead_souls] Kalinash@Fire and Ice: ok, it's throwing an error in there 
Thu Jun  4 22:23:52 2009 [dead_souls] Kalinash@Fire and Ice: wrap the whole foreach block in a catch() and see what it returns 
Thu Jun  4 22:24:44 2009 [dead_souls] Tahin@Kar Unol: Let's see... 
Thu Jun  4 22:25:16 2009 [dead_souls] Tahin@Kar Unol: Wait, how does catch work? This man page is confusing. 
Thu Jun  4 22:25:52 2009 [dead_souls] Kalinash@Fire and Ice: so, the first statement in the foreach() block should be: mixed err = catch { 
Thu Jun  4 22:26:00 2009 [dead_souls] Kalinash@Fire and Ice: then add another } at the end of the foreach block 
Thu Jun  4 22:26:04 2009 [dead_souls] Tahin@Kar Unol: All right. 
Thu Jun  4 22:26:17 2009 [dead_souls] Kalinash@Fire and Ice: between those last two, debug(err) 
Thu Jun  4 22:26:32 2009 [dead_souls] Kalinash@Fire and Ice: (the debug should be outside the catch {} but inside the foreach {} 
Thu Jun  4 22:27:06 2009 [dead_souls] Tahin@Kar Unol: Oh, all right. 
Thu Jun  4 22:28:44 2009 [dead_souls] Tahin@Kar Unol: Hmm... Errors. 
Thu Jun  4 22:29:09 2009 [dead_souls] Kalinash@Fire and Ice: what are they? index out of range? 
Thu Jun  4 22:29:16 2009 [dead_souls] Tahin@Kar Unol: /domains/IC/virtual/ic.c line 71: Cannot break out of catch { } or time_expression { } 
Thu Jun  4 22:29:26 2009 [dead_souls] Tahin@Kar Unol: I think I need to figure out how to use these catch things.... 
Thu Jun  4 22:29:51 2009 [dead_souls] Kalinash@Fire and Ice: well, it may be easier to put debug("step x") after each statement in the block and just find the one that's barfing 
Thu Jun  4 22:30:18 2009 [dead_souls] Tahin@Kar Unol: All right. I'll do that, then. 
Thu Jun  4 22:30:25 2009 [dead_souls] Tahin@Kar Unol: Thanks. 
Thu Jun  4 22:30:34 2009 [dead_souls] Deklax@Evolution: the way you use catch is just wrap it around any statement... If the statement errors then it returns 0 if there is an error it returns a string (rather than crashing) 
Thu Jun  4 22:30:44 2009 [dead_souls] Deklax@Evolution: er if there is no errors it returns 0 if there is it is a string 
Thu Jun  4 22:31:14 2009 [dead_souls] Tahin@Kar Unol: It's not liking something I've got inside it, though. It's throwing up errors. 
Thu Jun  4 22:31:29 2009 [dead_souls] Tahin@Kar Unol: Which is what it's supposed to be doing, I guess. But not like this. 
Thu Jun  4 23:30:44 2009 [dead_souls] Tahin@Kar Unol: Uh... 
Thu Jun  4 23:30:55 2009 [dead_souls] Tahin@Kar Unol: I finally got the catch working, and... 
Thu Jun  4 23:30:58 2009 [dead_souls] Tahin@Kar Unol: It's working. 
Thu Jun  4 23:31:04 2009 [dead_souls] Tahin@Kar Unol: What the... 
Thu Jun  4 23:31:08 2009 [dead_souls] Deklax@Evolution: haha, well, congrats. 
Thu Jun  4 23:31:13 2009 [dead_souls] Tahin@Kar Unol: That wasn't supposed to fix it, was it? 
Thu Jun  4 23:31:19 2009 [dead_souls] Eerr@Kar Unol: no, no it wasn't 
Thu Jun  4 23:31:41 2009 [dead_souls] Deklax@Evolution: the catch will at least prevent the error from a fatal error 
Thu Jun  4 23:31:52 2009 [dead_souls] Eerr@Kar Unol: how do you print the caught error? 
Thu Jun  4 23:31:55 2009 [dead_souls] Tahin@Kar Unol: Well, huh. 
Thu Jun  4 23:31:57 2009 [dead_souls] Wolvesbane@Dead Souls Dev: Got to love it when that happens 
Thu Jun  4 23:32:06 2009 [dead_souls] Tahin@Kar Unol: I'm scared to touch it, now. 
Thu Jun  4 23:32:55 2009 [dead_souls] Tahin@Kar Unol: And apparently it's not detecting an error. 
Thu Jun  4 23:33:00 2009 [dead_souls] Tahin@Kar Unol: That is bizarre. 
Thu Jun  4 23:33:32 2009 [dead_souls] Wolvesbane@Dead Souls Dev: Ok that could be a little creepy. you might want to make sure its a sound fix, regardless if it looks bizzar. 
Thu Jun  4 23:33:53 2009 [dead_souls] Eddard@Winterfall: hi there 
Thu Jun  4 23:34:17 2009 [dead_souls] Tahin@Kar Unol: Well, thanks guys. 
Thu Jun  4 23:35:05 2009 [dead_souls] Wolvesbane@Dead Souls Dev waves to Eddard. 
Thu Jun  4 23:36:23 2009 [dead_souls] Eddard@Winterfall: I cant find where I have to touch to translate the room exits, Does anyone know where to? 
Thu Jun  4 23:42:00 2009 [dead_souls] Eddard@Winterfall: Ok guys, I'll keep trying X_D 
Thu Jun  4 23:42:09 2009 [dead_souls] Eddard@Winterfall: Enjoy 
Thu Jun  4 23:42:16 2009 [dead_souls] Tahin@Kar Unol: What are you trying to do? 
Thu Jun  4 23:42:37 2009 [dead_souls] Eddard@Winterfall: Translate the lib to spanish 
Thu Jun  4 23:42:44 2009 [dead_souls] Eddard@Winterfall: So I have to translate the exits of the rooms 
Thu Jun  4 23:42:53 2009 [dead_souls] Tahin@Kar Unol: Hm... 
Thu Jun  4 23:43:08 2009 [dead_souls] Eddard@Winterfall: west / W -> Oeste / o 
Thu Jun  4 23:43:16 2009 [dead_souls] Wolvesbane@Dead Souls Dev: I was looking for some information under Lib objects but I can't find anything , sorry 
Thu Jun  4 23:43:23 2009 [dead_souls] Tahin@Kar Unol: Let's see... There's going to be something somewhere in the player libs. 
Thu Jun  4 23:43:28 2009 [dead_souls] Tahin@Kar Unol: To set the aliases. 
Thu Jun  4 23:43:42 2009 [dead_souls] Eddard@Winterfall: I did set the aliases 
Thu Jun  4 23:43:44 2009 [dead_souls] Tahin@Kar Unol: Ah. Then what's the problem? 
Thu Jun  4 23:44:10 2009 [dead_souls] Eddard@Winterfall: ok, I want to translate the exit in the room description 
Thu Jun  4 23:44:18 2009 [dead_souls] Eddard@Winterfall: I mean, when you See a room 
Thu Jun  4 23:44:22 2009 [dead_souls] Eddard@Winterfall: yo can see the exits 
Thu Jun  4 23:44:36 2009 [dead_souls] Eddard@Winterfall: (When you "look" a room to be more specific) 
Thu Jun  4 23:44:39 2009 [dead_souls] Eerr@Kar Unol: not every place uses the aliase... ah. 
Thu Jun  4 23:44:56 2009 [dead_souls] Tahin@Kar Unol: Well, wouldn't you just set the exit names? 
Thu Jun  4 23:44:58 2009 [dead_souls] Deklax@Evolution: you should read /lib/std/room.c 
Thu Jun  4 23:45:13 2009 [dead_souls] Wolvesbane@Dead Souls Dev: or are you trying to hide the exits 
Thu Jun  4 23:45:41 2009 [dead_souls] Eddard@Winterfall: not hide them ,just translate 
Thu Jun  4 23:45:44 2009 [dead_souls] Tahin@Kar Unol: Wouldn't you just have AddExit("Oeste","/domains/place/room/stuff.c"); or something? 
Thu Jun  4 23:46:02 2009 [dead_souls] Tahin@Kar Unol: Or are you talking about the minimap and such? 
Thu Jun  4 23:46:19 2009 [dead_souls] Eddard@Winterfall: I'd like to add AddExit("West",...); 
Thu Jun  4 23:46:25 2009 [dead_souls] Eddard@Winterfall: but players can see Oeste 
Thu Jun  4 23:46:28 2009 [dead_souls] Tahin@Kar Unol: Hm. 
Thu Jun  4 23:46:31 2009 [dead_souls] Deklax@Evolution: ... 
Thu Jun  4 23:46:35 2009 [dead_souls] Tahin@Kar Unol: That might be a little complicated. 
Thu Jun  4 23:46:51 2009 [dead_souls] Tahin@Kar Unol: You'll want to write that in /lib/std/room.c 
Thu Jun  4 23:46:56 2009 [dead_souls] Tahin@Kar Unol: I think. 
Thu Jun  4 23:47:40 2009 [dead_souls] Deklax@Evolution: you can probably make a minor mod to /lib/std/room.c that translates the exits as long as they are standard right before display 
Thu Jun  4 23:47:44 2009 [dead_souls] Tahin@Kar Unol: Hm. 
Thu Jun  4 23:48:22 2009 [dead_souls] Eddard@Winterfall: Im surfing right now through that file XD 
Thu Jun  4 23:48:31 2009 [dead_souls] Tahin@Kar Unol: So are the players going to type "o" to go "oeste", or what? 
Thu Jun  4 23:48:35 2009 [dead_souls] Tahin@Kar Unol: Or "w"? 
Thu Jun  4 23:48:44 2009 [dead_souls] Deklax@Evolution: they will type o but it will be an alias for w 
Thu Jun  4 23:48:54 2009 [dead_souls] Eddard@Winterfall: That is not problem, I did an alias 
Thu Jun  4 23:48:55 2009 [dead_souls] Tahin@Kar Unol: Huh. 
Thu Jun  4 23:49:00 2009 [dead_souls] Eddard@Winterfall: Thats it 
Thu Jun  4 23:49:03 2009 [dead_souls] Tahin@Kar Unol: Why not just use spanish names when defining the exits? That seems... cumbersome. 
Thu Jun  4 23:49:37 2009 [dead_souls] Deklax@Evolution: good question :) 
Thu Jun  4 23:49:44 2009 [dead_souls] Eddard@Winterfall: thats quite good 
Thu Jun  4 23:49:52 2009 [dead_souls] Tahin@Kar Unol: Also: Question. In a spanish mud, which person do you use? First or second? In english the two are kind of interchangeable. I've always been curious. 
Thu Jun  4 23:49:55 2009 [dead_souls] Eddard@Winterfall: But I'd prefer to use the standard ones 
Thu Jun  4 23:50:03 2009 [dead_souls] Eddard@Winterfall: and translate the results XD lol 
Thu Jun  4 23:50:08 2009 [dead_souls] Tahin@Kar Unol: Huh. 
Thu Jun  4 23:50:11 2009 [dead_souls] Eerr@Kar Unol: translations work fine untill you start using single letters 
Thu Jun  4 23:50:24 2009 [dead_souls] Tahin@Kar Unol: Yeah. That does tend to screw everything up. 
Thu Jun  4 23:50:26 2009 [dead_souls] Deklax@Evolution: line 1262 of /lib/std/room is GenerateObviousExits() that is where you need to go 
Thu Jun  4 23:50:59 2009 [dead_souls] Eddard@Winterfall: I dont have more than 10 lines in my room.c file 
Thu Jun  4 23:51:09 2009 [dead_souls] Deklax@Evolution: lol 
Thu Jun  4 23:51:15 2009 [dead_souls] Eddard@Winterfall: ds right now 
Thu Jun  4 23:51:17 2009 [dead_souls] Deklax@Evolution: wrong file 
Thu Jun  4 23:51:19 2009 [dead_souls] Eddard@Winterfall: im trying to find this 
Thu Jun  4 23:51:33 2009 [dead_souls] Tahin@Kar Unol: /lib/std/room.c? 
Thu Jun  4 23:51:36 2009 [dead_souls] Eddard@Winterfall: LIB_ROOM 
Thu Jun  4 23:51:38 2009 [dead_souls] Tahin@Kar Unol: Because that would be... odd. 
Thu Jun  4 23:52:03 2009 [dead_souls] Deklax@Evolution: hmm 
Thu Jun  4 23:52:05 2009 [dead_souls] Eddard@Winterfall: its just a inherited room from LIB_ROOM with a create and init 
Thu Jun  4 23:52:18 2009 [dead_souls] Deklax@Evolution: you are on 2.8.4 
Thu Jun  4 23:52:21 2009 [dead_souls] Deklax@Evolution: so I have no idea 
Thu Jun  4 23:53:24 2009 [dead_souls] Eerr@Kar Unol: try /obj/room.c 
Fri Jun  5 20:08:28 2009 [dead_souls] Detah@Dead Souls Dev: what would be the syntax to run a command from within the player object, but not directly typed from the player. eg. I have a command buffer which stores commands in an array and executes them one per round until the buffer is empty. Its something like this_object()->cmd("/lib/skills/bash.c"); but Ive got something wrong. 
Fri Jun  5 20:10:11 2009 [dead_souls] Kalinash@Fire and Ice: eventForce? 
Fri Jun  5 20:10:30 2009 [dead_souls] Kalinash@Fire and Ice: or just 'bash'? 
Fri Jun  5 20:10:35 2009 [dead_souls] Kalinash@Fire and Ice: as the input 
Fri Jun  5 20:10:52 2009 [dead_souls] Detah@Dead Souls Dev: yes, just "bash" 
Fri Jun  5 20:11:33 2009 [dead_souls] Detah@Dead Souls Dev: eval this_player()->cmd("/cmds/players/who.c"); return 1; clearly does not work 
Fri Jun  5 20:12:57 2009 [dead_souls] Detah@Dead Souls Dev: I know Ive coded this before but I cant remember where, to go steal the code from. 
Fri Jun  5 20:16:01 2009 [dead_souls] Zaknafein@AoD TempMUD: command()? 
Fri Jun  5 20:16:11 2009 [dead_souls] Detah@Dead Souls Dev: found it. process_input() 
Fri Jun  5 20:17:32 2009 [dead_souls] Detah@Dead Souls Dev: well fooie. command() and process_input are not right either. 
Fri Jun  5 20:17:35 2009 [dead_souls] Kalinash@Fire and Ice: process_input is what is called directly from the driver when input arrives from the socket, you'll probably want to abstract that a little bit so you can do security checks if you're going to allow arbitrary data to be sent to that function from something other than the driver itself 
Fri Jun  5 20:18:59 2009 [dead_souls] Zaknafein@AoD TempMUD: command() is what is used in the body object when the force command is used 
Fri Jun  5 20:19:25 2009 [dead_souls] Detah@Dead Souls Dev: nod. agreed. but eval this_player()->command("who"); return 1; does nothing. 
Fri Jun  5 20:21:44 2009 [dead_souls] Cratylus@Dead Souls Dev: it's an efun 
Fri Jun  5 20:22:12 2009 [dead_souls] Cratylus@Dead Souls Dev: that's why you can't -> it 
Fri Jun  5 20:22:24 2009 [dead_souls] Cratylus@Dead Souls Dev: type: findfun command 
Fri Jun  5 20:22:44 2009 [dead_souls] Deklax@Evolution: wow another great command to know about =P 
Fri Jun  5 20:23:06 2009 [dead_souls] Detah@Dead Souls Dev: hmm. then I would have expected to get an error message from teh driver which said something like function 'command' is not in OBJ(detah) 
Fri Jun  5 20:23:12 2009 [dead_souls] Deklax@Evolution: that should be on page 1 of creator manual =P 
Fri Jun  5 20:23:25 2009 [dead_souls] Cratylus@Dead Souls Dev: see also showfuns and findobj 
Fri Jun  5 20:23:36 2009 [dead_souls] Deklax@Evolution: thanks 
Fri Jun  5 20:23:39 2009 [dead_souls] Cratylus@Dead Souls Dev: and efuns, lfuns, sefuns 
Fri Jun  5 20:24:20 2009 [dead_souls] Cratylus@Dead Souls Dev: eval return this_player()->foobarbaz() 
Fri Jun  5 20:24:44 2009 [dead_souls] Cratylus@Dead Souls Dev: it returns undefined because theres no defined public function in that object by that name 
Fri Jun  5 20:25:24 2009 [dead_souls] Cratylus@Dead Souls Dev: i dont think it would be wise to make that error 
Fri Jun  5 20:26:19 2009 [dead_souls] Cratylus@Dead Souls Dev: since it would mean everything about your lib would need to be perfectly coded 
Fri Jun  5 20:33:08 2009 [dead_souls] Kalinash@Fire and Ice: call_other always just returns null if the  function isn't found 
Fri Jun  5 20:33:44 2009 [dead_souls] Kalinash@Fire and Ice: yeah, function_exists() can be used to check if the fun is actually there 
Fri Jun  5 20:34:15 2009 [dead_souls] Cratylus@Dead Souls Dev: i dont remember if it'll tell you about a static fun 
Fri Jun  5 20:34:41 2009 [dead_souls] Ideysus@shadowmudii: I thought you couldn't call_other static functions? 
Fri Jun  5 20:35:28 2009 [dead_souls] Detah@Dead Souls Dev: is there an object which already has command() in it? 
Fri Jun  5 20:36:02 2009 [dead_souls] Kalinash@Fire and Ice: blue 
Fri Jun  5 20:36:34 2009 [dead_souls] Cratylus@Dead Souls Dev: detah: LIB_NMSH 
Fri Jun  5 20:36:59 2009 [dead_souls] Cratylus@Dead Souls Dev: and, of course, LIB_COMMAND 
Fri Jun  5 20:37:09 2009 [dead_souls] Kalinash@Fire and Ice: and LIB_BORKED 
Fri Jun  5 20:37:57 2009 [dead_souls] Cratylus@Dead Souls Dev: LIB_:( 
Fri Jun  5 23:16:33 2009 [dead_souls] Deklax@Evolution: Is there a way to list all available intermud channels? 
Fri Jun  5 23:16:38 2009 [dead_souls] Cratylus@Dead Souls Dev: noap 
Fri Jun  5 23:16:42 2009 [dead_souls] Deklax@Evolution: ty 
Fri Jun  5 23:16:44 2009 [dead_souls] Cratylus@Dead Souls Dev: not conveniently 
Fri Jun  5 23:40:37 2009 [dead_souls] Kalinash@Fire and Ice: there is always a way 
Fri Jun  5 23:41:03 2009 [dead_souls] Deklax@Evolution: that is the attitude I like to hear 
Fri Jun  5 23:43:08 2009 [dead_souls] Kalinash@Fire and Ice: when you send a startup-req packet to the intermud router it will send you a list of all the muds it knows as well as all the channels it knows 
Fri Jun  5 23:43:28 2009 [dead_souls] Kalinash@Fire and Ice: your intermud daemon just needs to keep track of those and expose a method so you can retrieve them 
Fri Jun  5 23:43:44 2009 [dead_souls] Kalinash@Fire and Ice: i think 'chanlist-reply' is the packet you get 
Fri Jun  5 23:44:01 2009 [dead_souls] Deklax@Evolution: thank you :)  I'll check that out asap. 
Fri Jun  5 23:44:04 2009 [dead_souls] Kalinash@Fire and Ice: like crat said, it's not convienient if the lib doesn't already support it 
Fri Jun  5 23:44:12 2009 [dead_souls] Kalinash@Fire and Ice: but possible 
Fri Jun  5 23:44:43 2009 [dead_souls] Kalinash@Fire and Ice: i think the router is also supposed to send chanlist-reply packets if channels are added or removed, but that happens rather infrequently 
Sun Jun  7 01:40:08 2009 [dead_souls] Eru@ZeroState: Hey anyone out there any good at troubleshooting the built-in web interface? 
Sun Jun  7 07:24:16 2009 [dead_souls] Trusty@Angelic Wars: :( 
Sun Jun  7 22:57:39 2009 [dead_souls] Eru@ZeroState: I'm fiddling around with built in http and ftp 
Sun Jun  7 22:58:05 2009 [dead_souls] Eru@ZeroState: on the http side of things I can get the index page to load on a browser but the frame is looking for an html in a directory that doesn't exist 
Sun Jun  7 22:58:34 2009 [dead_souls] Eru@ZeroState: the html file doesn't exist the folder does 
Sun Jun  7 23:00:43 2009 [dead_souls] Eru@ZeroState: ds yah been there doen that 
Sun Jun  7 23:00:45 2009 [dead_souls] Eru@ZeroState: *done 
Sun Jun  7 23:01:04 2009 [dead_souls] Sys@BlackHole: is an intarweb sever one that servers inline tar files somehow? 
Sun Jun  7 23:03:28 2009 [dead_souls] Eru@ZeroState: /cgi/who.html 
Sun Jun  7 23:03:42 2009 [dead_souls] Eru@ZeroState: was not found on this server. 
Sun Jun  7 23:03:55 2009 [dead_souls] Eru@ZeroState: and of course I look and it's truly not on the server :) 
Sun Jun  7 23:06:50 2009 [dead_souls] Sys@BlackHole: so what's the problem? 
Sun Jun  7 23:07:23 2009 [dead_souls] Sys@BlackHole: oic you have another page that references it, soz 
Sun Jun  7 23:07:54 2009 [dead_souls] Eru@ZeroState: main index.html loads fine, it's calling a file that doesn't exist - assume it might be generated by mud 
Sun Jun  7 23:08:44 2009 [dead_souls] Eru@ZeroState: checked original zip file - it wasn't int here either 
Sun Jun  7 23:08:57 2009 [dead_souls] Sys@BlackHole: ds2.8.4/lib/www/cgi/ on my server contains a who.c 
Sun Jun  7 23:09:27 2009 [dead_souls] Eru@ZeroState: correct 
Sun Jun  7 23:09:40 2009 [dead_souls] Sys@BlackHole: but tbh I haven't bothered trying to make it work 
Sun Jun  7 23:09:49 2009 [dead_souls] Eru@ZeroState nodz 
Sun Jun  7 23:10:37 2009 [dead_souls] Eru@ZeroState: well my guess is that who.html is dynamic (generated current who's list)...so my newbie guess is that something should be generating the who.html 
Sun Jun  7 23:10:54 2009 [dead_souls] Sys@BlackHole: but at a guess the webserver isn't setup to run .cs properly 
Sun Jun  7 23:11:01 2009 [dead_souls] Sys@BlackHole nods 
Sun Jun  7 23:11:59 2009 [dead_souls] Sys@BlackHole: which are probably lpc files, but I can't say I know how to make them run. 
Sun Jun  7 23:12:02 2009 [dead_souls] Eru@ZeroState: internal to ds or you mean my apache2? 
Sun Jun  7 23:12:08 2009 [dead_souls] Sys@BlackHole: either 
Sun Jun  7 23:12:33 2009 [dead_souls] Cratylus@Dead Souls Dev: try mudcofig cgi enable' 
Sun Jun  7 23:13:19 2009 [dead_souls] Sys@BlackHole: which presumably works for ds, apache would need the right AddHandler line 
Sun Jun  7 23:13:33 2009 [dead_souls] Sys@BlackHole waves to Crat 
Sun Jun  7 23:14:40 2009 [dead_souls] Eru@ZeroState: should I restart everything now... 
Sun Jun  7 23:15:20 2009 [dead_souls] Sys@BlackHole: probably unecessary, did it work? 
Sun Jun  7 23:15:35 2009 [dead_souls] Eru@ZeroState: no and I did mudconfig http restart on top still didn't work 
Sun Jun  7 23:16:12 2009 [dead_souls] Cratylus@Dead Souls Dev: guess it's broken then 
Sun Jun  7 23:17:02 2009 [dead_souls] Eru@ZeroState: should who.c generate the file? 
Sun Jun  7 23:17:22 2009 [dead_souls] Sys@BlackHole: that's they way cgi usually works 
Sun Jun  7 23:17:32 2009 [dead_souls] Sys@BlackHole: -y 
Sun Jun  7 23:21:40 2009 [dead_souls] Cratylus@Dead Souls Dev: oh try mudconfig cgrweb enable too 
Sun Jun  7 23:21:44 2009 [dead_souls] Cratylus@Dead Souls Dev: creweb 
Sun Jun  7 23:22:47 2009 [dead_souls] Eru@ZeroState shakes his head "no" (even looked in the /cgi sub) 
Sun Jun  7 23:23:06 2009 [dead_souls] Eru@ZeroState: unless it be generating some where else (does a search) 
Sun Jun  7 23:24:07 2009 [dead_souls] Eru@ZeroState: nope 
Sun Jun  7 23:24:28 2009 [dead_souls] Eru@ZeroState: permissions... 
Sun Jun  7 23:24:47 2009 [dead_souls] Cratylus@Dead Souls Dev: help creweb 
Sun Jun  7 23:25:05 2009 [dead_souls] Sys@BlackHole: permission are 755 here 
Sun Jun  7 23:32:05 2009 [dead_souls] Eru@ZeroState: ok so I make websites all day but perhaps my "expertise" is getting in the way - I have an entry in /etc/apache2/sites-available and ~/sites-enabled... this good bad, irrelevant? 
Sun Jun  7 23:32:39 2009 [dead_souls] Cratylus@Dead Souls Dev: i dont know why youre asking that 
Sun Jun  7 23:33:18 2009 [dead_souls] Eru@ZeroState: for a virtual website to exist on my server I have to tell apache "hey this is what it's called, this is where it's path is and here is the appropriate port" 
Sun Jun  7 23:33:35 2009 [dead_souls] Eru@ZeroState: but I'm asking because perhaps your mud doesn't require this 
Sun Jun  7 23:33:56 2009 [dead_souls] Cratylus@Dead Souls Dev: sounds like your mixing apples and oranges and gettin all confused as a result 
Sun Jun  7 23:36:44 2009 [dead_souls] Sys@BlackHole: I assume you can't run apache and the ds webserver on port 80 at the same time, and I assume you can config what port the ds webserver runs on 
Sun Jun  7 23:37:10 2009 [dead_souls] Eru@ZeroState: my 80 port sites are on another box 
Sun Jun  7 23:37:21 2009 [dead_souls] Eru@ZeroState: I'm pretty much dedicating this box to the game for now 
Sun Jun  7 23:37:32 2009 [dead_souls] Eru@ZeroState: I can configure what port 
Sun Jun  7 23:37:37 2009 [dead_souls] Sys@BlackHole: so on thatr boxs port 8- you have the ds webserver no? 
Sun Jun  7 23:37:44 2009 [dead_souls] Sys@BlackHole: port 80 
Sun Jun  7 23:37:52 2009 [dead_souls] Eru@ZeroState: no 
Sun Jun  7 23:38:03 2009 [dead_souls] Eru@ZeroState: my router sends 80 request to only one box not this one 
Sun Jun  7 23:38:25 2009 [dead_souls] Eru@ZeroState: and my mud port sends to this box (just fine - I get the index page) 
Sun Jun  7 23:39:08 2009 [dead_souls] Eru@ZeroState: there are no files for the browser to find (no who.html or creweb.html) 
Sun Jun  7 23:39:17 2009 [dead_souls] Sys@BlackHole: I don't think that has anything to do with the cgi config within ds, which is what would seem to be broken 
Sun Jun  7 23:40:28 2009 [dead_souls] Sys@BlackHole: who.html is dynamically generated from who.c which presumably isn't happening 
Sun Jun  7 23:43:13 2009 [dead_souls] Cratylus@Dead Souls Dev: so am i to understand that eru has been trying to use apache to access the ds web directory, and the problem is that apache isnt doing anything with the cgi stuff in ds? 
Sun Jun  7 23:43:36 2009 [dead_souls] Cratylus@Dead Souls Dev: if this is correct, then failure is the normal result 
Sun Jun  7 23:44:06 2009 [dead_souls] Eru@ZeroState: I don't know how to test for the answers however I run just about everything under the sun on these servers 
Sun Jun  7 23:44:25 2009 [dead_souls] Eru@ZeroState: is there a specific cgi package that's required? 
Sun Jun  7 23:44:48 2009 [dead_souls] Cratylus@Dead Souls Dev: you have fundamentally misunderstood how to do it 
Sun Jun  7 23:44:52 2009 [dead_souls] Cratylus@Dead Souls Dev: that's the problem 
Sun Jun  7 23:45:17 2009 [dead_souls] Cratylus@Dead Souls Dev: the ds web stuff is designed to be accessed as a feature of the mud 
Sun Jun  7 23:45:31 2009 [dead_souls] Cratylus@Dead Souls Dev: bringing apache into it means that the cgi stuff will not work 
Sun Jun  7 23:46:04 2009 [dead_souls] Cratylus@Dead Souls Dev: the documentation for ds explains how to get the ds web server running. that is what you use to access the ds cgi stuff 
Sun Jun  7 23:46:07 2009 [dead_souls] Eru@ZeroState: yeah I cut apache out of it (sites-availabel & enabled) and no change 
Sun Jun  7 23:46:22 2009 [dead_souls] Eru@ZeroState: I started out following the instructions 
Sun Jun  7 23:46:30 2009 [dead_souls] Eru@ZeroState: worked it every direction before I asked for help 
Sun Jun  7 23:46:33 2009 [dead_souls] Cratylus@Dead Souls Dev: i have no idea what you're doing at this point since your misapprehension is so fundamental i cant begin to guess what you've misconfigured 
Sun Jun  7 23:46:41 2009 [dead_souls] Cratylus@Dead Souls Dev: please restart, reviewing the documentation on how to do it 
Sun Jun  7 23:48:01 2009 [dead_souls] Cratylus@Dead Souls Dev: keep in mind that if yer going to port 80, you' 
Sun Jun  7 23:48:08 2009 [dead_souls] Cratylus@Dead Souls Dev: re doing it wrong 
Sun Jun  7 23:49:07 2009 [dead_souls] Cratylus@Dead Souls Dev: a good thing to do is type: help creweb 
Sun Jun  7 23:49:42 2009 [dead_souls] Eru@ZeroState: I know it looks like my GMC Pacer is up on blocks and I'm trying to put play-dogh in the carberator but...no 
Sun Jun  7 23:51:52 2009 [dead_souls] Eru@ZeroState: I read the instructions, I've got my mud at 8888 instructions say 5 less for the site 8883 (if thats good math) 
Sun Jun  7 23:54:14 2009 [dead_souls] Cratylus@Dead Souls Dev: k 
Sun Jun  7 23:54:36 2009 [dead_souls] Eru@ZeroState: I get the index.html no prob 
Sun Jun  7 23:54:37 2009 [dead_souls] Cratylus@Dead Souls Dev: if you follow the instructions in "help creweb" you should be good to go 
Sun Jun  7 23:54:39 2009 [dead_souls] Sys@BlackHole: from reading them it would seem that http needs to be disabled before enabling cgi 
Sun Jun  7 23:54:41 2009 [dead_souls] Cratylus@Dead Souls Dev: try the instructions that result from typing: help creweb 
Sun Jun  7 23:54:42 2009 [dead_souls] Eru@ZeroState: I'm running apache on the server I'm setting this up on - are you telling me I have to disable or stop apache in order to use the intraweb thing? 
Sun Jun  7 23:54:44 2009 [dead_souls] Cratylus@Dead Souls Dev: ok so what's the problem 
Sun Jun  7 23:54:46 2009 [dead_souls] Cratylus@Dead Souls Dev: i think you should just do what it says 
Sun Jun  7 23:54:48 2009 [dead_souls] Eru@ZeroState: I've already followed these instructions but I will do them one more time to make sure I didn't miss anything 
Sun Jun  7 23:54:49 2009 [dead_souls] Cratylus@Dead Souls Dev: im saying apache has nothing whatsoever to do with it 
Sun Jun  7 23:54:51 2009 [dead_souls] Eru@ZeroState: rebooting... 
Mon Jun  8 05:44:25 2009 [dead_souls] Arithorn@Heroes Doom: Heh, "about" works in this version... 
Tue Jun  9 07:25:51 2009 [dead_souls] Eru@ZeroState: got it working :) 
Tue Jun  9 07:26:00 2009 [dead_souls] Eru@ZeroState does a happy dance 
Tue Jun  9 13:29:48 2009 [dead_souls] Eru@ZeroState: So the creweb problem was "none-of-the-above" to fix - though it was on my side 
Tue Jun  9 13:31:19 2009 [dead_souls] Lotus@shadowmudii: grats 
Tue Jun  9 13:31:36 2009 [dead_souls] Eru@ZeroState: thankz 
Tue Jun  9 13:32:48 2009 [dead_souls] Lotus@shadowmudii: *sigh* don't want to work on loot, it's hard 
Tue Jun  9 13:35:13 2009 [dead_souls] Eru@ZeroState: what's "hard" about it 
Tue Jun  9 13:35:41 2009 [dead_souls] Lotus@shadowmudii: code a comprehensive loot system, and then tell me what was hard about it :P 
Tue Jun  9 13:36:32 2009 [dead_souls] Eru@ZeroState: oh I'm sure I'm in your Coding Shadow...so what is the core of the challenge 
Tue Jun  9 13:37:11 2009 [dead_souls] Eru@ZeroState: conversion, multiple loot systems converting... 
Tue Jun  9 13:37:13 2009 [dead_souls] Lotus@shadowmudii: I haven't coded in a long ol' time, so that's part of the challenge, getting back into it. But I'm coding a loot system that will generate loot based on keywords. 
Tue Jun  9 13:37:29 2009 [dead_souls] Lotus@shadowmudii: and of course, it needs to be able to incorporate hard-coded items too 
Tue Jun  9 13:37:48 2009 [dead_souls] Eru@ZeroState: oic you don't mean currency - you mean treasure charts 
Tue Jun  9 13:37:52 2009 [dead_souls] Lotus@shadowmudii: actually made some good progress last night 
Tue Jun  9 13:38:04 2009 [dead_souls] Lotus@shadowmudii: yeah, money is easy. Right now I'm working on the weapons/armor 
Tue Jun  9 13:38:24 2009 [dead_souls] Eru@ZeroState: and they keywords will be taken from the room, the mob, the area? 
Tue Jun  9 13:38:32 2009 [dead_souls] Lotus@shadowmudii: all of the above, yes 
Tue Jun  9 13:38:42 2009 [dead_souls] Eru@ZeroState: well that's very organic :) 
Tue Jun  9 13:39:11 2009 [dead_souls] Lotus@shadowmudii: I'm at the point now where if I pass "elf" as a keyword, I'll get ({"silver"}) returned as a material, since Elves in this world make things from silver a lot. 
Tue Jun  9 13:39:46 2009 [dead_souls] Lotus@shadowmudii: and I tend to make things very configurable, so if I make another material that elves like to use, it'll pop that one back too. So that's a decent start/ 
Tue Jun  9 13:39:52 2009 [dead_souls] Eru@ZeroState: so your real challenge is to assign thought-out values to areas, mobs and rooms 
Tue Jun  9 13:40:03 2009 [dead_souls] Eru@ZeroState: right that's smart 
Tue Jun  9 13:40:12 2009 [dead_souls] Eru@ZeroState: modular programming is easy 
Tue Jun  9 13:40:25 2009 [dead_souls] Lotus@shadowmudii: yeah, it's pretty much all I've done here. 
Tue Jun  9 13:40:38 2009 [dead_souls] Lotus@shadowmudii: that's why I can add another race to the mud in about 2 minutes. 
Tue Jun  9 13:41:02 2009 [dead_souls] Eru@ZeroState: so your real real challenge is to identify base types 
Tue Jun  9 13:41:27 2009 [dead_souls] Eru@ZeroState: all rooms will have terrain-types 
Tue Jun  9 13:41:29 2009 [dead_souls] Lotus@shadowmudii: and to remember how to code. And we're not even getting into magic items yet. :) 
Tue Jun  9 13:41:50 2009 [dead_souls] Eru@ZeroState: seems like the magic items would be based more on the story than the surroundings 
Tue Jun  9 13:41:59 2009 [dead_souls] Lotus@shadowmudii: yep, you're getting it. A monster in an underwater area might carry a seashell, or a trident 
Tue Jun  9 13:42:05 2009 [dead_souls] Eru@ZeroState: unless in your world "magic is strongest at the beach" 
Tue Jun  9 13:42:17 2009 [dead_souls] Lotus@shadowmudii: an underwater elf might carry a silver trident, specifically. 
Tue Jun  9 13:42:38 2009 [dead_souls] Eru@ZeroState: well that's tricky - he probably would carry a coral spear 
Tue Jun  9 13:42:42 2009 [dead_souls] Eru@ZeroState: err trident 
Tue Jun  9 13:42:53 2009 [dead_souls] Eru@ZeroState: unless you have lots of famous underwater smelting areas 
Tue Jun  9 13:43:01 2009 [dead_souls] Lotus@shadowmudii: sure, coral could be attached to the keyword "underwater" 
Tue Jun  9 13:43:15 2009 [dead_souls] Lotus@shadowmudii: so many would, but as an elf, he still might get a silver one 
Tue Jun  9 13:44:05 2009 [dead_souls] Eru@ZeroState: although it seems like...overkill somehow 
Tue Jun  9 13:44:15 2009 [dead_souls] Lotus@shadowmudii: maybe :) 
Tue Jun  9 13:44:19 2009 [dead_souls] Eru@ZeroState: you would be required to include all those keywords in each room 
Tue Jun  9 13:44:26 2009 [dead_souls] Eru@ZeroState: in order to generate the desired effect 
Tue Jun  9 13:44:29 2009 [dead_souls] Lotus@shadowmudii: oh, no way 
Tue Jun  9 13:44:44 2009 [dead_souls] Lotus@shadowmudii: the room keywords would be passed automatically. Same for race and such 
Tue Jun  9 13:45:05 2009 [dead_souls] Lotus@shadowmudii: in my head, it works really well. :) 
Tue Jun  9 13:45:46 2009 [dead_souls] Lotus@shadowmudii: and I'll be more than happy to share the code when I'm done. 
Tue Jun  9 13:45:49 2009 [dead_souls] Eru@ZeroState: right...well perhaps one way would be to create a matrix for each sub-category - race, terrain, room 
Tue Jun  9 13:46:13 2009 [dead_souls] Eru@ZeroState: and not every sub category in each context will get ALL the possible attributes 
Tue Jun  9 13:46:24 2009 [dead_souls] Eru@ZeroState: kobolds under the age of 6 = 0 magic :) 
Tue Jun  9 13:47:20 2009 [dead_souls] Eru@ZeroState: so age of race (or maturity) might determin if a creature has lived long enough to have acquired anything relevant to your treasure chart 
Tue Jun  9 13:47:42 2009 [dead_souls] Lotus@shadowmudii: that's an idea. We'll probably end up going by level. 
Tue Jun  9 13:48:17 2009 [dead_souls] Lotus@shadowmudii: but I'm not going to get that complex with the first draft. 
Tue Jun  9 13:48:43 2009 [dead_souls] Eru@ZeroState: thanks for stimulating my mind while I'm still in coffee mode - good luck with the keyword treasure generator 
Tue Jun  9 13:49:20 2009 [dead_souls] Lotus@shadowmuddev: thanks ;) 
Tue Jun  9 13:49:36 2009 [dead_souls] Lotus@shadowmuddev: then it'll be on to player crafting 
Tue Jun  9 13:49:54 2009 [dead_souls] Lotus@shadowmuddev: the two things I came out of retirement to do 
Tue Jun  9 18:34:07 2009 [dead_souls] Pytlak@PytlakMUD: Is there a way, without looking too deep into the abyss, that I can create a "shortcut" for goto.  i.e. goto startroom or something like that? 
Tue Jun  9 18:34:19 2009 [dead_souls] Ideysus@shadowmudii: 'alias'? 
Tue Jun  9 18:34:27 2009 [dead_souls] Cratylus@Dead Souls Dev: alias start goto /path/to/room 
Tue Jun  9 18:34:30 2009 [dead_souls] Pytlak@PytlakMUD: Well, I know that bit. 
Tue Jun  9 18:34:51 2009 [dead_souls] Pytlak@PytlakMUD: Just wondering if there was something I could set in the room.  Sort of like an id, but for a room 
Tue Jun  9 18:35:35 2009 [dead_souls] Cratylus@Dead Souls Dev: the pathname is the only global handle for a room 
Tue Jun  9 18:35:54 2009 [dead_souls] Cratylus@Dead Souls Dev: unless you code something to do that 
Tue Jun  9 18:36:00 2009 [dead_souls] Pytlak@PytlakMUD: Alright.  Alias for now.  Might tinker with goto later 
Tue Jun  9 18:36:03 2009 [dead_souls] Cratylus@Dead Souls Dev: like a room nickname daemon or something 
Tue Jun  9 18:37:04 2009 [dead_souls] Pytlak@PytlakMUD: I figure if I can "catch" the argument early on in the goto function I could set what it eventually does with some kind of table, but I'm putting off that kind of tinkering for the moment. 
Tue Jun  9 19:21:31 2009 [dead_souls] Detah@Dead Souls Dev: what is the 64bit max int? 
Tue Jun  9 19:22:02 2009 [dead_souls] Inari@Earthen Dreams: just a sec 
Tue Jun  9 19:22:22 2009 [dead_souls] Kalinash@Fire and Ice: MAX_INT 
Tue Jun  9 19:22:51 2009 [dead_souls] Detah@Dead Souls Dev: found it. 9.2 quintillino. 
Tue Jun  9 19:23:12 2009 [dead_souls] Kalinash@Fire and Ice: but you have to be careful... on some systems int is still 32 bit and long is 64 bit 
Tue Jun  9 19:23:36 2009 [dead_souls] Kalinash@Fire and Ice: so it's best to use things like INT32 and INT64 
Tue Jun  9 19:24:14 2009 [dead_souls] Inari@Earthen Dreams: 9,223,372,036,854,775,807 
Tue Jun  9 19:24:46 2009 [dead_souls] Inari@Earthen Dreams: or 18,446,744,073,709,551,615 for an unsigned int64 
Tue Jun  9 19:25:26 2009 [dead_souls] Detah@Dead Souls Dev: if any player gets 9.2 quintillion xp, I will declare them the winner. 
Tue Jun  9 19:25:53 2009 [dead_souls] Kalinash@Fire and Ice: with our without exploiting bugs? 
Tue Jun  9 19:26:18 2009 [dead_souls] Cratylus@Dead Souls Dev: one time i compiled 64 bit and made a char have its level be max int 
Tue Jun  9 19:26:20 2009 [dead_souls] Inari@Earthen Dreams: detah, its quadrillion btw :P 
Tue Jun  9 19:26:29 2009 [dead_souls] Detah@Dead Souls Dev: youre so silly. theres no bugs on Arcania. only undeclared features. 
Tue Jun  9 19:26:42 2009 [dead_souls] Inari@Earthen Dreams smacks forhead 
Tue Jun  9 19:26:44 2009 [dead_souls] Cratylus@Dead Souls Dev: i dont remember exactly how, but it broke combat 
Tue Jun  9 19:26:48 2009 [dead_souls] Detah@Dead Souls Dev: no. its quintillion. 
Tue Jun  9 19:26:52 2009 [dead_souls] Inari@Earthen Dreams: i can't appear to count today 
Tue Jun  9 19:26:58 2009 [dead_souls] Kalinash@Fire and Ice: just use terabytes 
Tue Jun  9 19:27:08 2009 [dead_souls] Cratylus@Dead Souls Dev: i think the opponent was killed like millions of times 
Tue Jun  9 19:27:41 2009 [dead_souls] Inari@Earthen Dreams: (missed a whole group of digits) 
Tue Jun  9 19:42:30 2009 [dead_souls] Detah@Dead Souls Dev: I solved my 32bit problem for skillpoints in a sorta slick way. the cost per skill level is 200+level^2 skill points. At each level it resets the skillpoints to 0. so players could get to skill level 45,825 before hitting the ceiling. they would have certainly claimed demigodhood well before that. 
Tue Jun  9 20:40:28 2009 [dead_souls] Shadyman@QuantumScape: Is there an LPC XML interpreter anywhere? 
Tue Jun  9 20:43:53 2009 [dead_souls] Shadyman@QuantumScape: ls 
Tue Jun  9 20:43:56 2009 [dead_souls] Shadyman@QuantumScape: er. 
Tue Jun  9 20:47:32 2009 [dead_souls] Pytlak@PytlakMUD: Yay!  My first real change to something about how the mud works (ok, it was minor) but it works. 
Tue Jun  9 20:47:42 2009 [dead_souls] Pytlak@PytlakMUD: *and* I did it in ed 
Tue Jun  9 20:47:44 2009 [dead_souls] Kalinash@Fire and Ice: you mean an XML parser written in LPC? 
Tue Jun  9 20:47:47 2009 [dead_souls] Eru@ZeroState claps 
Tue Jun  9 20:48:05 2009 [dead_souls] Pytlak@PytlakMUD: No.  Adding a tab and ansi before "Obvious Exits" 
Tue Jun  9 20:48:19 2009 [dead_souls] Pytlak@PytlakMUD: Hey, I'm happy it restarted. 
Tue Jun  9 20:48:30 2009 [dead_souls] Shadyman@QuantumScape: Yes. XML Parser. 
Tue Jun  9 20:48:35 2009 [dead_souls] Eru@ZeroState got the web interface to work last night by accident 
first << < 148 149 150 151 152 153 154 155 156 157 158 > >> last

Go to the top | Channel Index