Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - melkor

Pages: [1]
1
General / PRIVS issues
« on: July 28, 2014, 03:21:50 AM »
Hi guys!

I am having some issues with PRIVS in my project and i am currently out of ideas what it could be.
For some reason the files sefun.c and valid.c are not correctly reported by the PRIVS system and i cannot find why.
This is an example of the output during my tests:
Code: [Select]
> eval write(find_object("/adm/master/sefun.c"))
OBJ(/adm/master/sefun)Result = 0
> eval write(query_privs(find_object("/adm/master/sefun.c")))
0Result = 0
> eval write(query_privs(find_object("/adm/master/valid.c")))
0Result = 0
> eval write(query_privs(find_object("/adm/master/master.c")))
[master]Result = 0
> eval write(find_object("/adm/master/master.c"))
OBJ(/adm/master/master)Result = 0
> eval write(find_object("/adm/master/login.c"))
OBJ(/adm/master/login)Result = 0
> eval write(query_privs(find_object("/adm/master/login.c")))
[master]Result = 0
As you can see the master and the login objects are reported correctly, but the sefun.c and valid.c are not.
This is breaking the usefulness of the PRIVS system for me and i am really lost.
Why two of the objects are reported correctly and two of them are not?

I would really appreciate some help as i am currently at dead end.

Thank you!

P.S. - And a dump of all loaded objects during the test:
Code: [Select]
> eval write(dump_variable(objects()))
ARRAY:
[0] == (/tmp/eval_file)
[1] == (/cmds/eval)
[2] == (/std/void)
[3] == (/std/user#2)
[4] == (/std/user)
[5] == (/std/user/save)
[6] == (/std/living)
[7] == (/std/living/hpsp)
[8] == (/std/living/stats)
[9] == (/std/living/env)
[10] == (/std/object/ob)
[11] == (/std/object/ob_logic)
[12] == (/adm/master/login#1)
[13] == (/adm/master/login)
[14] == (/adm/master/master)
[15] == (/adm/master/valid)
[16] == (/adm/master/sefun)Result = 0

2
General / Old mudlibs and drivers
« on: November 03, 2010, 11:20:28 AM »
I have cleaning my PC and found one old folder with LPC stuff which i want to share. This are items which i have downloaded and collected from various places. Some of them may be still useful. :D
http://angband.melkor.eu/~melkor/LPC

3
Drivers / FluffOS on OpenSolaris - problem with compilation
« on: October 23, 2009, 07:39:30 AM »
Hi guys!

I'm currently trying to migrate my system to OpenSolaris but i'm having problems compiling the FluffOS 2.18 on this OS, even using GNU GCC.
The error i get is in ed.c and it's the following:
Code: [Select]
ed.c: In function `report_status':
ed.c:2488: error: duplicate case value
ed.c:2448: error: previously used here
Any help is appreciated.

Thank you!

P.S. - The system is 32bit. I tried to compile and on a 64bit kernel but still without luck.

4
General / Multilanguage support
« on: June 01, 2009, 12:13:04 PM »
Hello!

I'm wondering if a MUD can be written in another language than English (Bulgarian in my case)? I mean room descriptions, commands, emotes, etc. I don't know if the iconv package in FluffOS can be used to do that and i cannot find any documentation how to use that.
Currently if i type a description in Bulgarian using cp1251 or UTF-8 the room fails to compile and the driver throws an error.
Any ideas?

5
General / PRIVS tutorial or explanation
« on: August 12, 2008, 10:27:09 AM »
Hello,

  I need a little help with these PRIVS. I ported, with a little help from Tacitus, TMI-2 mudlib to work with the PRIVS system. Of course, now everything is broken. I read some documentation about PRIVS system which i found in the docs directory of TMI-2, also i read the documentation of DeadSouls about the PRIVS system, but i'm still missing something and can't setup things right.

  Can someone be kind and explain how exactly this PRIVS system works? Also a few little steps of implementation of this system will be really appreciated.

Pages: [1]