1 |
Fichero Cambios |
2 |
|
3 |
06/10/03 :: Hirunatan |
4 |
|
5 |
- Corregidos pequeños fallos y añadida profesión "barrendero" al poblado (ir a visitar |
6 |
los cuarteles de la guardia). |
7 |
|
8 |
28/09/03 :: Hirunatan |
9 |
|
10 |
- Modificada la fecha R de referencia del tiempo en Minë, trasladada al año 1500 T.E. |
11 |
para coincidir con el resultado de la encuesta que se hizo en su dÃa en la lista. |
12 |
|
13 |
23/09/03 :: Hirunatan |
14 |
|
15 |
- Añadidos contadores y etiquetas a las propiedades de salas, objetos y PNJs, y |
16 |
también acciones y requisitos para manipularlos. |
17 |
|
18 |
22/09/03 :: Hirunatan |
19 |
|
20 |
- Añadida propiedad "propietario" a los objetos. Los objetos que la tengan sólo pueden |
21 |
ser usados o transportados por sus propietarios. |
22 |
- Añadida función para calcular el precio de los objetos en función del objeto, |
23 |
la sala, el carisma del personaje y el humor del vendedor ;) |
24 |
- Añadido comando +comprar. |
25 |
|
26 |
18/09/03 :: Hirunatan |
27 |
|
28 |
- Implementada nueva propiedad de Personaje: dinero, junto con métodos, comandos, |
29 |
requisitos y acciones para manipularla. |
30 |
|
31 |
31/08/03 :: Hirunatan |
32 |
|
33 |
- Implementados todos los sucesos, acciones y requisitos de la operatividad básica. |
34 |
|
35 |
25/08/03 :: Hizgael |
36 |
|
37 |
- Adaptado también el PNJ del posadero a la nueva versión del sistema de diálogos |
38 |
- Pequeño truco para poder entrar al poblado de noche ;-) |
39 |
- Mejorada la sincronizacion entre varios PJs hablando a la vez con un PNJ |
40 |
- Añadidos contextos y repeticiones a los guiones de conversación: ya se puede controlar el orden de los diálogos. |
41 |
- Creo que me he cargado los requisitos que usan tiradas de atributo 8-(. Al intentar usarlos sin saber como iban, |
42 |
he retocado la función. Cuando pueda, recuperaré la anterior e intentaré utilizarlos. |
43 |
- Desconexion automática de jugadores inactivos, para impedir que se mueran de hambre! ;-) |
44 |
Por cierto, al hacerlo he descubierto que el proceso de la desconexi'on tiene un bug: no libera el "tick" y salta |
45 |
una excepcion a la hora siguiente de salir el personaje! 8-/ |
46 |
|
47 |
19/08/03 :: Hizgael |
48 |
|
49 |
- Nueva versión del sistema de PNJs, completamente rediseñada. |
50 |
|
51 |
- Arreglado fallo en interfazpj.desconectar(), que podia tirar el servidor al |
52 |
intentar salvar al limbo a un PJ para el que se ha producido una excepción. |
53 |
|
54 |
- He añadido al directorio la utilidad typo.py, que hace chequeo estático de nombres de variable |
55 |
(para detectar errores de tecleo - typos). Usar: ./typo.py <fichero> |
56 |
|
57 |
- Nueva función trazar() en utils.py, para no dejar todo perdido con 'print's |
58 |
al depurar... |
59 |
|
60 |
[hueco] |
61 |
|
62 |
30/07/03 :: Hirunatan |
63 |
|
64 |
Implementados algunos requisitos y acciones de objetos, y ampliacion del |
65 |
comando +usar para que admita +usar <objeto1> +con <objeto2>. |
66 |
|
67 |
??/07/03 :: Hirunatan |
68 |
|
69 |
Implementado el sistema de alimentación. Consultar el documento Alimentacion |
70 |
en el wiki. Falta por hacer el mecanismo de comer automáticamente. |
71 |
|
72 |
??/06/03 :: Hirunatan |
73 |
|
74 |
Cambios bastante importantes para construir el mecanismo de Operatividad, |
75 |
y conseguir que el mundo cobre vida. Ver el documento Operatividad en el |
76 |
Wiki. De momento están implementados los sucesos de Objetos, y buena parte |
77 |
de las acciones y requisitos, aunque no todas. |
78 |
|
79 |
[hueco] |
80 |
|
81 |
21/06/03 :: Aranarth |
82 |
|
83 |
Nueva versión de desarrollo 1.03cvs con los cambios llevados a cabo |
84 |
desde Septiembre. |
85 |
|
86 |
[hueco] |
87 |
|
88 |
07/12/02 :: Hirunatan |
89 |
|
90 |
Modificado el formato de las clases al nuevo sistema de Python 2.2. La |
91 |
ventaja es que ahora se pueden crear métodos estáticos y propiedades |
92 |
públicas. La pega es que los ficheros guardados con pickle en el formato |
93 |
antiguo no se pueden recuperar con el nuevo, lo cual obliga a borrar el |
94 |
directorio salas y crear de nuevo todos los PJs. Y también que el programa |
95 |
ya no corre en versiones anteriores del intérprete de Python. |
96 |
|
97 |
Se han modificado los métodos estáticos y atributos públicos de las |
98 |
clases Mundo, Sala, Personaje, PersonajeJugador, PersonajeNoJugador |
99 |
y Objeto para adaptarse al nuevo modelo. Ahora faltan todas las demás |
100 |
clases... |
101 |
|
102 |
10/11/02 :: Hirunatan |
103 |
|
104 |
Activada lectura de PNJs desde su fichero de descripción. |
105 |
|
106 |
05/11/02 :: Hirunatan |
107 |
|
108 |
Activado el funcionamiento de cierres en las salidas de las salas. Ya son |
109 |
funcionales los cierres por llave y por horario. Avanzada versión del |
110 |
sistema de descripciones de sala a 1.2. |
111 |
|
112 |
27/10/02 :: Hirunatan |
113 |
|
114 |
Activado el paso del tiempo en Minë. Nuevo comando +reloj, informe de |
115 |
paso del tiempo cada hora y preparado para programar eventos con fecha. |
116 |
|
117 |
15/09/02 :: Aranarth |
118 |
|
119 |
Añadido PNJ prototipo de posadero en la Posada del Borracho |
120 |
Limpiados y reconstruidos los DTDs |
121 |
Arreglados fallos menores |
122 |
¡es necesario dejar resuelto el tema de los PNJs! |
123 |
Nota: incluir en los PNJs (diálogos) un campo para |
124 |
acciones como +dar, etc. |
125 |
|
126 |
29/08/02 :: Hirunatan |
127 |
|
128 |
Remodelados eventos de controlador y arreglados un par de pufillos |
129 |
con los idiomas. |
130 |
Mejorado el tratamiento de los ids y nombres de los PNJs durante |
131 |
las conversaciones. |
132 |
Muchas prisas por la EstelCon :) |
133 |
|
134 |
26/08/02 :: Aranarth |
135 |
|
136 |
¡Menudo dÃa! |
137 |
Comienzo a limpiar la ayuda online y ahora cada vez que un personaje |
138 |
entra en una sala nunca antes visitada, sus puntos de experiencia |
139 |
suben 1 punto. |
140 |
|
141 |
26/08/02 :: Aranarth |
142 |
|
143 |
Añadido comando +dar para intercambiar objetos entre jugadores. |
144 |
Como no siempre esto puede ser deseable, he añadido también |
145 |
el atributo ids_amigos en donde se incluyen las personas de confianza |
146 |
(por defecto está vacÃo). Para modificar esta lista se usan dos |
147 |
nuevos comandos: +confiar <personaje> y +noconfiar <personaje>. |
148 |
Además, se incluye el comando +amigos que muestra los personajes |
149 |
de confianza. |
150 |
Actualizada la versión de personajes a 1.4 con sus correspondientes |
151 |
chequeos. |
152 |
|
153 |
26/08/02 :: Aranarth |
154 |
|
155 |
Añadidos sistemas de control para los valores introducidos a la hora |
156 |
de crear un personaje. Los atributos afectados son: altura, peso y edad. |
157 |
Se dejan color de pelo y ojos para otra ocasión. |
158 |
|
159 |
24/08/02 :: Aranarth |
160 |
|
161 |
Limpieza con lejÃa del directorio 'documentos'. Intentemos a partir de ahora |
162 |
seguir un poco de orden. Otros directorio misceláneos podrÃan seguirle. |
163 |
|
164 |
17/08/02 :: Aranarth |
165 |
|
166 |
He modificado los copyrights de todos los ficheros .py para cambiar |
167 |
definitivamente ambar por minë y arreglar un problema en la dirección |
168 |
de la FSF. A partir de ahora, cada fichero .py nuevo que se cree |
169 |
deberá incluir al comienzo el fichero copyright.txt |
170 |
|
171 |
17/08/02 :: Aranarth |
172 |
|
173 |
Ahora es posible ser un Maia si la clave elegida por el personaje |
174 |
jugador coincide con aquella escrita en el fichero clave_maiar.txt. |
175 |
Esto reporta diversas ventajas ya que hay comandos sólo accesibles |
176 |
a los Maiar. |
177 |
|
178 |
17/08/02 :: Aranarth |
179 |
|
180 |
Se ha añadido el campo 'clave' a la creación y recuperación de personajes. |
181 |
|
182 |
17/08/02 :: Hirunatan |
183 |
|
184 |
Arreglado el tema de carga de objetos. Ahora ya se cargan correctamente todos |
185 |
los atributos, y se consolida la versión 1.0 del sistema de objetos. Además, |
186 |
si existia algún objeto corrupto por ahÃ, ahora se resetea automáticamente |
187 |
desde el fichero de descripción en cuanto alguien lo +coge. |
188 |
|
189 |
Actualizados todos los ficheros de descripcion de objetos. |
190 |
|
191 |
|
192 |
16/08/02 :: Hirunatan |
193 |
|
194 |
Ahora, al leer la descripcion de salas y objetos se compactan todos los |
195 |
espacios de cada item (o sea, si hay más de un espacio consecutivo se |
196 |
elimina, y se deja sólo uno). |
197 |
|
198 |
Terminado el sistema de coger y dejar objetos. Ahora los personajes tienen un |
199 |
atributo mochila y otro cuerpo (para los objetos que se ponen). Actualizada |
200 |
version de personajes a 1.2, los personajes antiguos se convierten |
201 |
automáticamente. |
202 |
|
203 |
Funcionan los comandos +coger, +dejar, +examinar y +esconder (todavia falta |
204 |
+poner, +quitar y +usar). |
205 |
|
206 |
Modificada sala posada-01 y algunos objetos, para probar. La carga de objetos |
207 |
en objeto.py no está bien, ahora está a caballo entre la versión antigua y |
208 |
la nueva del sistema de objetos (de hecho ni siquiera contempla el número |
209 |
de versión). Esto hay que terminarlo. |
210 |
|
211 |
Probablemente habrá que borrar los ficheros del directorio salas/, porque |
212 |
algunos objetos estaban mal leidos. Se puede dejar el limbo, para que no se |
213 |
borren los personajes. |
214 |
|
215 |
|
216 |
12/08/02 :: Aranarth |
217 |
|
218 |
Incorporado el módulo de PNJs desarrollado por Diego "Hizgael" con un pnj |
219 |
de pruebas en el área poblado llamada 'tutora'. |
220 |
Nuevos comandos: +decir <texto>, +[p]reguntar por <texto> para interactuar |
221 |
con los pnjs. |
222 |
|
223 |
29/07/02 :: Aranarth y Hirunatan |
224 |
|
225 |
GuÃa del colaborador 1.0. Especificaciones de los objetos y las salas 1.0. |
226 |
Mejoras generales en la apariencia de Minë. Múltiples comandos en una sola lÃnea. |
227 |
Ãrea de prueba seroth. versión 0.2. |
228 |
|
229 |
03/07/02 :: Aranarth |
230 |
|
231 |
Nuevo formato de fichero de objetos. Arreglados algunos fallos. Se han |
232 |
borrado/modificado los ficheros que apuntaba a objetos |
233 |
antiguos. Creado espada01.xml, un ejemplo de objeto nuevo. |
234 |
|
235 |
22/05/02 :: Hirunatan |
236 |
|
237 |
Añadidos un par de comandos: +ip y +area, que me vienen bien para unas cosas |
238 |
mias, y pueden ser útiles para otra gente. |
239 |
|
240 |
08/05/02 :: Hirunatan |
241 |
|
242 |
Varios cambios en el formato de las salas, para incorporar algunas sugerencias |
243 |
que habÃa pendientes en la lista de correo. Modificado el documento |
244 |
como_escribir_una_sala.txt para reflejar todos los cambios, y creado script |
245 |
actualizar-desc-salas.py para actualizar automáticamente los ficheros de |
246 |
descripcion de sala. La versión no se incrementará a 1.1 hasta que esté |
247 |
terminado el tema de puertas. |
248 |
|
249 |
- Los tÃtulos de salas y algunas otras descripciones ahora deben incorporar |
250 |
el artÃculo, para evitar que salga "Estás en el/la camino de....". He cambiado |
251 |
dialogonormal.py. |
252 |
- He mejorado el sistema de usar una palabra en vez de una dirección (norte, |
253 |
sur, etc.) para moverse por salas. Ahora se puede usar también, en cualquier |
254 |
momento, la primera palabra de la descripción de una salida, ignorando |
255 |
artÃculos. Por ejemplo, ante la salida "Al norte ves un camino oscuro" puedes |
256 |
escribir +camino para ir por ahÃ. Si se quiere usar otra palabra, se pone |
257 |
entre corchetes ("al sur ves un estrecho [tunel]"). He cambiado el fichero |
258 |
utils.py. |
259 |
- Un personaje que no pueda ver una salida por su dificultad, podrá cruzarla |
260 |
si sigue a alguien que si pueda. |
261 |
- He terminado de definir el tema de puertas, cierres y puentes levadizos. |
262 |
De momento sólo lo he descrito en como_escribir_una_sala.txt. Falta modificar el |
263 |
DTD y el fichero sala.py, y luego implementar la funcionalidad en personaje.py |
264 |
o dialogonormal.py. |
265 |
|
266 |
Hay que repasar todas las descripciones de salas para retocar los tÃtulos de |
267 |
sala y las salidas, poniéndo artÃculos en minúscula. Esto no lo puede hacer el |
268 |
script, hay que hacerlo a mano. |
269 |
|
270 |
Tambien he empezado a definir la funcionalidad de ponerse y quitarse objetos |
271 |
de encima los personajes. En la clase Personaje he definido dos variables nuevas: |
272 |
mochila (para todos los objetos que cojas) y cuerpo (para los que llevas puestos). |
273 |
He añadido su descripcion a la cabecera de la clase, y he creado unos pocos |
274 |
metodos para manejar ambas variables. Esto asume que se van a añadir al fichero |
275 |
de descripcion de objetos los cambios que sugeri en el mail con fecha 19 de abril |
276 |
en la lista mine_ste. Todavia no esta reflejado en como_escribir_un_objeto.txt. |
277 |
|
278 |
22/04/02 :: Hirunatan |
279 |
|
280 |
Desde ahora, al cambiar un fichero de descripción de sala, el programa |
281 |
comprueba la fecha de modificación del fichero y lo recarga automáticamente, |
282 |
sin necesidad de borrar el fichero de salas ni reiniciar Minë, y sin que se |
283 |
pierdan los personajes u objetos que pueda haber en la sala. |
284 |
|
285 |
21/04/02 :: Hirunatan |
286 |
|
287 |
Activada funcionalidad de creación y borrado automático de objetos, al entrar |
288 |
un personaje en la sala (segun el atributo "probabilidad"). No se verifica |
289 |
si el personaje ya habÃa entrado antes o no, creo que no es necesario, al menos |
290 |
de momento. |
291 |
|
292 |
19/04/02 :: Hirunatan |
293 |
|
294 |
Activada funcionalidad de volumen de personajes, objetos y salas. Ahora no |
295 |
se puede entrar en una sala si está llena de gente o de trastos. Creada una |
296 |
sala "pozo estrecho" junto al camino que lleva al poblado, para probar. |
297 |
|
298 |
02/04/02 :: Hirunatan |
299 |
|
300 |
Terminada funcionalidad de compañÃas. Añadidos comandos "seguir" y "noseguir". |
301 |
|
302 |
27/03/02 :: Hirunatan |
303 |
|
304 |
Preparada clase personaje para crear compañias. Avanzada versión a 1.1. |
305 |
|
306 |
25/03/02 :: Aranarth |
307 |
|
308 |
Paso de dos listas de objetos en sala a una sola. |
309 |
Los comandos de dejar, coger, examinar, equipo y mirar |
310 |
han sido parcial o totalmente reescritos. |
311 |
Primeros pasos para el aprovechamiento de la información |
312 |
contenida en la lista de objetos de sala. |
313 |
|
314 |
17/03/02 :: Aranarth |
315 |
|
316 |
He movido las funciones de coger y dejar objetos a sala.py convirtiendo |
317 |
éstas en métodos de instancia. En dialogonormal.py quedan ahora dos comandos |
318 |
simbólicos que llaman a los métodos. |
319 |
He aprovechado para reescribir mejor estas funciones añadiendo otra función |
320 |
llamada resumir_objetos que devuelve una lista de objetos empaquetados. |
321 |
Además, he añadido un nuevo comando muy útil llamado mirar resumido '+mr' |
322 |
que ejecuta mirar pero sin escribir la descripción de la sala. |
323 |
|
324 |
13/03/02 :: Hirunatan |
325 |
|
326 |
He reescrito la parte de conectar y desconectar InterfazPJ con los PJ, y mover |
327 |
estos del/al limbo. He colocado bastantes aserciones para que si el código es |
328 |
correcto nunca haya inconsistencias; he blindado el código con "try...except" |
329 |
para que en caso de casques se mantengan siempre las invariantes; he protegido |
330 |
la carga de salas para que si un pj queda colgado fuera del limbo, se le mande |
331 |
allà al cargar la sala, y si un pj se pierde en el limbo sin salida, se le |
332 |
devuelva a la entrada cuando un jugador lo capture. |
333 |
|
334 |
12/03/02 :: Aranarth |
335 |
|
336 |
He añadido el comando +idioma <idioma> que asigna un valor al atributo |
337 |
idioma_base del personaje. idioma_base es la referencia para el habla, |
338 |
el susurro y el grito. He hecho los cambios oportunos en los ficheros |
339 |
afectados. |
340 |
Modificadas algunas salas. Versión 0.1.18 lista para el público. |
341 |
|
342 |
09/03/02 :: Hirunatan |
343 |
|
344 |
He sincronizado el manual y la clase sala.py con respecto al atributo maximo |
345 |
de un objeto. |
346 |
|
347 |
04/03/02 :: Hirunatan |
348 |
|
349 |
He dividido la clase InterfazPJ en varias clases DialogoXXX, porque se |
350 |
estaba volviendo demasiado enorme. InterfazPJ sigue existiendo, pero ahora |
351 |
delega casi todo su trabajo en el dialogo que corresponda. Aprovecho para |
352 |
introducir una nueva norma de diseño del interfaz de las clases: distinguir |
353 |
métodos públicos / privados (con __) y poner todos los atributos privados |
354 |
accesibles si es necesario con métodos de acceso. |
355 |
|
356 |
27/02/02 :: Aranarth |
357 |
|
358 |
He incorporado los invariantes a objeto.py (falta que lo revise |
359 |
Hirunatan) y he ampliado los comandos relativos a objetos. Ahora nadie |
360 |
puede coger algo que no ve, se pueden esconder los objetos además de |
361 |
poder dejarlos a la vista y es posible examinar un objeto del equipo |
362 |
del personaje. |
363 |
|
364 |
21/02/02 :: Hirunatan |
365 |
|
366 |
He modificado el fichero connection.py para que al enviar un texto que |
367 |
ocupe más de una lÃnea (tal como ocurre con las descripciones de las salas), |
368 |
lo parta a 79 columnas y respetando siempre las palabras completas. Afecta |
369 |
también a enviar el logo y los créditos. |
370 |
|
371 |
19/02/02 :: Aranarth |
372 |
|
373 |
He empezado a modificar el asunto de los objetos en las salas. |
374 |
Ahora sala.objetos contiene los propios objetos aparte de informació extra |
375 |
que no atañe al tipo de objeto en sà sino a las circunstancias de éste en |
376 |
esa sala. Asimismo empiezo a cambiar funciones como mirar, coger y dejar. |
377 |
|
378 |
tolkien |
379 |
GNU GENERAL PUBLIC LICENSE |
380 |
Version 2, June 1991 |
381 |
|
382 |
Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
383 |
675 Mass Ave, Cambridge, MA 02139, USA |
384 |
Everyone is permitted to copy and distribute verbatim copies |
385 |
of this license document, but changing it is not allowed. |
386 |
|
387 |
Preamble |
388 |
|
389 |
The licenses for most software are designed to take away your |
390 |
freedom to share and change it. By contrast, the GNU General Public |
391 |
License is intended to guarantee your freedom to share and change free |
392 |
software--to make sure the software is free for all its users. This |
393 |
General Public License applies to most of the Free Software |
394 |
Foundation's software and to any other program whose authors commit to |
395 |
using it. (Some other Free Software Foundation software is covered by |
396 |
the GNU Library General Public License instead.) You can apply it to |
397 |
your programs, too. |
398 |
|
399 |
When we speak of free software, we are referring to freedom, not |
400 |
price. Our General Public Licenses are designed to make sure that you |
401 |
have the freedom to distribute copies of free software (and charge for |
402 |
this service if you wish), that you receive source code or can get it |
403 |
if you want it, that you can change the software or use pieces of it |
404 |
in new free programs; and that you know you can do these things. |
405 |
|
406 |
To protect your rights, we need to make restrictions that forbid |
407 |
anyone to deny you these rights or to ask you to surrender the rights. |
408 |
These restrictions translate to certain responsibilities for you if you |
409 |
distribute copies of the software, or if you modify it. |
410 |
|
411 |
For example, if you distribute copies of such a program, whether |
412 |
gratis or for a fee, you must give the recipients all the rights that |
413 |
you have. You must make sure that they, too, receive or can get the |
414 |
source code. And you must show them these terms so they know their |
415 |
rights. |
416 |
|
417 |
We protect your rights with two steps: (1) copyright the software, and |
418 |
(2) offer you this license which gives you legal permission to copy, |
419 |
distribute and/or modify the software. |
420 |
|
421 |
Also, for each author's protection and ours, we want to make certain |
422 |
that everyone understands that there is no warranty for this free |
423 |
software. If the software is modified by someone else and passed on, we |
424 |
want its recipients to know that what they have is not the original, so |
425 |
that any problems introduced by others will not reflect on the original |
426 |
authors' reputations. |
427 |
|
428 |
Finally, any free program is threatened constantly by software |
429 |
patents. We wish to avoid the danger that redistributors of a free |
430 |
program will individually obtain patent licenses, in effect making the |
431 |
program proprietary. To prevent this, we have made it clear that any |
432 |
patent must be licensed for everyone's free use or not licensed at all. |
433 |
|
434 |
The precise terms and conditions for copying, distribution and |
435 |
modification follow. |
436 |
|
437 |
GNU GENERAL PUBLIC LICENSE |
438 |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
439 |
|
440 |
0. This License applies to any program or other work which contains |
441 |
a notice placed by the copyright holder saying it may be distributed |
442 |
under the terms of this General Public License. The "Program", below, |
443 |
refers to any such program or work, and a "work based on the Program" |
444 |
means either the Program or any derivative work under copyright law: |
445 |
that is to say, a work containing the Program or a portion of it, |
446 |
either verbatim or with modifications and/or translated into another |
447 |
language. (Hereinafter, translation is included without limitation in |
448 |
the term "modification".) Each licensee is addressed as "you". |
449 |
|
450 |
Activities other than copying, distribution and modification are not |
451 |
covered by this License; they are outside its scope. The act of |
452 |
running the Program is not restricted, and the output from the Program |
453 |
is covered only if its contents constitute a work based on the |
454 |
Program (independent of having been made by running the Program). |
455 |
Whether that is true depends on what the Program does. |
456 |
|
457 |
1. You may copy and distribute verbatim copies of the Program's |
458 |
source code as you receive it, in any medium, provided that you |
459 |
conspicuously and appropriately publish on each copy an appropriate |
460 |
copyright notice and disclaimer of warranty; keep intact all the |
461 |
notices that refer to this License and to the absence of any warranty; |
462 |
and give any other recipients of the Program a copy of this License |
463 |
along with the Program. |
464 |
|
465 |
You may charge a fee for the physical act of transferring a copy, and |
466 |
you may at your option offer warranty protection in exchange for a fee. |
467 |
|
468 |
2. You may modify your copy or copies of the Program or any portion |
469 |
of it, thus forming a work based on the Program, and copy and |
470 |
distribute such modifications or work under the terms of Section 1 |
471 |
above, provided that you also meet all of these conditions: |
472 |
|
473 |
a) You must cause the modified files to carry prominent notices |
474 |
stating that you changed the files and the date of any change. |
475 |
|
476 |
b) You must cause any work that you distribute or publish, that in |
477 |
whole or in part contains or is derived from the Program or any |
478 |
part thereof, to be licensed as a whole at no charge to all third |
479 |
parties under the terms of this License. |
480 |
|
481 |
c) If the modified program normally reads commands interactively |
482 |
when run, you must cause it, when started running for such |
483 |
interactive use in the most ordinary way, to print or display an |
484 |
announcement including an appropriate copyright notice and a |
485 |
notice that there is no warranty (or else, saying that you provide |
486 |
a warranty) and that users may redistribute the program under |
487 |
these conditions, and telling the user how to view a copy of this |
488 |
License. (Exception: if the Program itself is interactive but |
489 |
does not normally print such an announcement, your work based on |
490 |
the Program is not required to print an announcement.) |
491 |
|
492 |
These requirements apply to the modified work as a whole. If |
493 |
identifiable sections of that work are not derived from the Program, |
494 |
and can be reasonably considered independent and separate works in |
495 |
themselves, then this License, and its terms, do not apply to those |
496 |
sections when you distribute them as separate works. But when you |
497 |
distribute the same sections as part of a whole which is a work based |
498 |
on the Program, the distribution of the whole must be on the terms of |
499 |
this License, whose permissions for other licensees extend to the |
500 |
entire whole, and thus to each and every part regardless of who wrote it. |
501 |
|
502 |
Thus, it is not the intent of this section to claim rights or contest |
503 |
your rights to work written entirely by you; rather, the intent is to |
504 |
exercise the right to control the distribution of derivative or |
505 |
collective works based on the Program. |
506 |
|
507 |
In addition, mere aggregation of another work not based on the Program |
508 |
with the Program (or with a work based on the Program) on a volume of |
509 |
a storage or distribution medium does not bring the other work under |
510 |
the scope of this License. |
511 |
|
512 |
3. You may copy and distribute the Program (or a work based on it, |
513 |
under Section 2) in object code or executable form under the terms of |
514 |
Sections 1 and 2 above provided that you also do one of the following: |
515 |
|
516 |
a) Accompany it with the complete corresponding machine-readable |
517 |
source code, which must be distributed under the terms of Sections |
518 |
1 and 2 above on a medium customarily used for software interchange; or, |
519 |
|
520 |
b) Accompany it with a written offer, valid for at least three |
521 |
years, to give any third party, for a charge no more than your |
522 |
cost of physically performing source distribution, a complete |
523 |
machine-readable copy of the corresponding source code, to be |
524 |
distributed under the terms of Sections 1 and 2 above on a medium |
525 |
customarily used for software interchange; or, |
526 |
|
527 |
c) Accompany it with the information you received as to the offer |
528 |
to distribute corresponding source code. (This alternative is |
529 |
allowed only for noncommercial distribution and only if you |
530 |
received the program in object code or executable form with such |
531 |
an offer, in accord with Subsection b above.) |
532 |
|
533 |
The source code for a work means the preferred form of the work for |
534 |
making modifications to it. For an executable work, complete source |
535 |
code means all the source code for all modules it contains, plus any |
536 |
associated interface definition files, plus the scripts used to |
537 |
control compilation and installation of the executable. However, as a |
538 |
special exception, the source code distributed need not include |
539 |
anything that is normally distributed (in either source or binary |
540 |
form) with the major components (compiler, kernel, and so on) of the |
541 |
operating system on which the executable runs, unless that component |
542 |
itself accompanies the executable. |
543 |
|
544 |
If distribution of executable or object code is made by offering |
545 |
access to copy from a designated place, then offering equivalent |
546 |
access to copy the source code from the same place counts as |
547 |
distribution of the source code, even though third parties are not |
548 |
compelled to copy the source along with the object code. |
549 |
|
550 |
4. You may not copy, modify, sublicense, or distribute the Program |
551 |
except as expressly provided under this License. Any attempt |
552 |
otherwise to copy, modify, sublicense or distribute the Program is |
553 |
void, and will automatically terminate your rights under this License. |
554 |
However, parties who have received copies, or rights, from you under |
555 |
this License will not have their licenses terminated so long as such |
556 |
parties remain in full compliance. |
557 |
|
558 |
5. You are not required to accept this License, since you have not |
559 |
signed it. However, nothing else grants you permission to modify or |
560 |
distribute the Program or its derivative works. These actions are |
561 |
prohibited by law if you do not accept this License. Therefore, by |
562 |
modifying or distributing the Program (or any work based on the |
563 |
Program), you indicate your acceptance of this License to do so, and |
564 |
all its terms and conditions for copying, distributing or modifying |
565 |
the Program or works based on it. |
566 |
|
567 |
6. Each time you redistribute the Program (or any work based on the |
568 |
Program), the recipient automatically receives a license from the |
569 |
original licensor to copy, distribute or modify the Program subject to |
570 |
these terms and conditions. You may not impose any further |
571 |
restrictions on the recipients' exercise of the rights granted herein. |
572 |
You are not responsible for enforcing compliance by third parties to |
573 |
this License. |
574 |
|
575 |
7. If, as a consequence of a court judgment or allegation of patent |
576 |
infringement or for any other reason (not limited to patent issues), |
577 |
conditions are imposed on you (whether by court order, agreement or |
578 |
otherwise) that contradict the conditions of this License, they do not |
579 |
excuse you from the conditions of this License. If you cannot |
580 |
distribute so as to satisfy simultaneously your obligations under this |
581 |
License and any other pertinent obligations, then as a consequence you |
582 |
may not distribute the Program at all. For example, if a patent |
583 |
license would not permit royalty-free redistribution of the Program by |
584 |
all those who receive copies directly or indirectly through you, then |
585 |
the only way you could satisfy both it and this License would be to |
586 |
refrain entirely from distribution of the Program. |
587 |
|
588 |
If any portion of this section is held invalid or unenforceable under |
589 |
any particular circumstance, the balance of the section is intended to |
590 |
apply and the section as a whole is intended to apply in other |
591 |
circumstances. |
592 |
|
593 |
It is not the purpose of this section to induce you to infringe any |
594 |
patents or other property right claims or to contest validity of any |
595 |
such claims; this section has the sole purpose of protecting the |
596 |
integrity of the free software distribution system, which is |
597 |
implemented by public license practices. Many people have made |
598 |
generous contributions to the wide range of software distributed |
599 |
through that system in reliance on consistent application of that |
600 |
system; it is up to the author/donor to decide if he or she is willing |
601 |
to distribute software through any other system and a licensee cannot |
602 |
impose that choice. |
603 |
|
604 |
This section is intended to make thoroughly clear what is believed to |
605 |
be a consequence of the rest of this License. |
606 |
|
607 |
8. If the distribution and/or use of the Program is restricted in |
608 |
certain countries either by patents or by copyrighted interfaces, the |
609 |
original copyright holder who places the Program under this License |
610 |
may add an explicit geographical distribution limitation excluding |
611 |
those countries, so that distribution is permitted only in or among |
612 |
countries not thus excluded. In such case, this License incorporates |
613 |
the limitation as if written in the body of this License. |
614 |
|
615 |
9. The Free Software Foundation may publish revised and/or new versions |
616 |
of the General Public License from time to time. Such new versions will |
617 |
be similar in spirit to the present version, but may differ in detail to |
618 |
address new problems or concerns. |
619 |
|
620 |
Each version is given a distinguishing version number. If the Program |
621 |
specifies a version number of this License which applies to it and "any |
622 |
later version", you have the option of following the terms and conditions |
623 |
either of that version or of any later version published by the Free |
624 |
Software Foundation. If the Program does not specify a version number of |
625 |
this License, you may choose any version ever published by the Free Software |
626 |
Foundation. |
627 |
|
628 |
10. If you wish to incorporate parts of the Program into other free |
629 |
programs whose distribution conditions are different, write to the author |
630 |
to ask for permission. For software which is copyrighted by the Free |
631 |
Software Foundation, write to the Free Software Foundation; we sometimes |
632 |
make exceptions for this. Our decision will be guided by the two goals |
633 |
of preserving the free status of all derivatives of our free software and |
634 |
of promoting the sharing and reuse of software generally. |
635 |
|
636 |
NO WARRANTY |
637 |
|
638 |
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
639 |
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
640 |
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
641 |
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
642 |
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
643 |
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
644 |
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
645 |
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
646 |
REPAIR OR CORRECTION. |
647 |
|
648 |
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
649 |
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
650 |
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
651 |
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
652 |
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
653 |
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
654 |
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
655 |
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
656 |
POSSIBILITY OF SUCH DAMAGES. |
657 |
|
658 |
END OF TERMS AND CONDITIONS |
659 |
|
660 |
Appendix: How to Apply These Terms to Your New Programs |
661 |
|
662 |
If you develop a new program, and you want it to be of the greatest |
663 |
possible use to the public, the best way to achieve this is to make it |
664 |
free software which everyone can redistribute and change under these terms. |
665 |
|
666 |
To do so, attach the following notices to the program. It is safest |
667 |
to attach them to the start of each source file to most effectively |
668 |
convey the exclusion of warranty; and each file should have at least |
669 |
the "copyright" line and a pointer to where the full notice is found. |
670 |
|
671 |
<one line to give the program's name and a brief idea of what it does.> |
672 |
Copyright (C) 19yy <name of author> |
673 |
|
674 |
This program is free software; you can redistribute it and/or modify |
675 |
it under the terms of the GNU General Public License as published by |
676 |
the Free Software Foundation; either version 2 of the License, or |
677 |
(at your option) any later version. |
678 |
|
679 |
This program is distributed in the hope that it will be useful, |
680 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
681 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
682 |
GNU General Public License for more details. |
683 |
|
684 |
You should have received a copy of the GNU General Public License |
685 |
along with this program; if not, write to the Free Software |
686 |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
687 |
|
688 |
Also add information on how to contact you by electronic and paper mail. |
689 |
|
690 |
If the program is interactive, make it output a short notice like this |
691 |
when it starts in an interactive mode: |
692 |
|
693 |
Gnomovision version 69, Copyright (C) 19yy name of author |
694 |
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
695 |
This is free software, and you are welcome to redistribute it |
696 |
under certain conditions; type `show c' for details. |
697 |
|
698 |
The hypothetical commands `show w' and `show c' should show the appropriate |
699 |
parts of the General Public License. Of course, the commands you use may |
700 |
be called something other than `show w' and `show c'; they could even be |
701 |
mouse-clicks or menu items--whatever suits your program. |
702 |
|
703 |
You should also get your employer (if you work as a programmer) or your |
704 |
school, if any, to sign a "copyright disclaimer" for the program, if |
705 |
necessary. Here is a sample; alter the names: |
706 |
|
707 |
Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
708 |
`Gnomovision' (which makes passes at compilers) written by James Hacker. |
709 |
|
710 |
<signature of Ty Coon>, 1 April 1989 |
711 |
Ty Coon, President of Vice |
712 |
|
713 |
This General Public License does not permit incorporating your program into |
714 |
proprietary programs. If your program is a subroutine library, you may |
715 |
consider it more useful to permit linking proprietary applications with the |
716 |
library. If this is what you want to do, use the GNU Library General |
717 |
Public License instead of this License. |
718 |
#!/usr/bin/env python |
719 |
# |
720 |
#Minë. Mundo Interactivo-Narrativo en Español [Tierra-Media] |
721 |
#Copyright (C) 2002 Pablo Ruiz Múzquiz |
722 |
# |
723 |
# |
724 |
#This program is free software; you can redistribute it and/or modify |
725 |
#it under the terms of the GNU General Public License as published by |
726 |
#the Free Software Foundation; either version 2 of the License, or |
727 |
#(at your option) any later version. |
728 |
# |
729 |
#This program is distributed in the hope that it will be useful, |
730 |
#but WITHOUT ANY WARRANTY; without even the implied warranty of |
731 |
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
732 |
#GNU General Public License for more details. |
733 |
# |
734 |
#You should have received a copy of the GNU General Public License |
735 |
#along with this program; if not, write to the Free Software |
736 |
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
737 |
# |
738 |
Minë. Mundo Interactivo-Narrativo en Español [Tierra-Media]
|
739 |
Copyright (C) 2002 Pablo Ruiz Múzquiz
|
740 |
|
741 |
-------------------------
|
742 |
Ambartan v 0.3 Beta
|
743 |
Editor de objetos para Minë
|
744 |
Copyright (C) 2003 Gabriel Pulido de Torres
|
745 |
Bajo licencia GPL
|
746 |
----------------------------------
|
747 |
|
748 |
Consta de los siguientes ficheros:
|
749 |
|
750 |
sala_editable.py
|
751 |
wxEditor.py
|
752 |
wxPpal.py
|
753 |
frSala.py
|
754 |
frArbol.py
|
755 |
|
756 |
Se ha desarrollado usando Boa v0.2.3
|
757 |
Es necesario tener instalado Python 2.3 (www.python.org) y wxPython 2.4 for python 2.3 (www.wxPython.org)
|
758 |
Para arrancar ejecutar el wxEditor, tienen que estar ubicados en el mismo directorio del mine.
|
759 |
|
760 |
versión 0.3 Beta (4-12-2003)
|
761 |
-----------------
|
762 |
-Implementado que pregunte antes de cerrar una sala que ha sido modificada.
|
763 |
-Modificación en la pestaña de las Descripciones, ahora se comporta como las otras
|
764 |
-Cada vez que se modifica algo en cualquier sitio la sala se pone en estado modificado, con lo que pregunta.
|
765 |
|
766 |
versión 0.2 Beta
|
767 |
-----------------
|
768 |
-Implementado borrado de zonas desde el arbol, no se gestiona todavÃa si están abiertos los objetos que se van a borrar
|
769 |
-Implementado item de menú fichero para cerrar una ventana activa excepto el árbol de navegación, se ha incluido pq en Linux los child/parents se muestran en notebooks sin botón de cierre,no en frames
|
770 |
-Arreglado el añadido de salidas, descripciones y objetos que no funcionaba
|
771 |
-La edición de guiones no está implementada, pero si una sala contiene guiones, aunque no se puedan editar ni ver, al guardar la sala, se conservan
|
772 |
|
773 |
versión 0.1 alfa
|
774 |
------------------
|
775 |
-Actualmente sólo está implementada la opción de editar/crear/guardar salas, llamado módulo Mardentan.
|
776 |
-Pinchando en las ramas del arbol de navegación correspondientes a las salas se abren éstas para su edición.
|
777 |
-El menú archivo permite guardar, crear y borrar salas, eso sà para poder guardar o borrar tiene que estar activa una ventana de sala
|
778 |
-Actualmente se come los guiones de las salidas y de los objetos, no sólo no se pueden editar sino que si se edita una sala
|
779 |
que contenga guiens al guardarla se pierden. Para ello hay que implementar en sala_editable.py métodos que guarden los
|
780 |
guiones junto con el resto de las cosas.
|
781 |
-Falta gestionar errores a tutiplen, sacar mensajes al usuario y poner ayudas por todas partes...
|
782 |
|
783 |
|
784 |
Minë - Mundo Interactivo-Narrativo en Español |
785 |
|
786 |
Fichero LEEME |
787 |
|
788 |
Antes de nada, necesitas haber instalado el intérprete python (versión 2.2) |
789 |
para tu plataforma. Ve a http://python.org, descárgalo e instálalo. |
790 |
|
791 |
En el directorio de Minë hay muchos ficheros y algunos |
792 |
directorios. De los ficheros del directorio principal sólo deberÃa |
793 |
preocuparte mine.py, que es el que deberás ejecutar para iniciar el |
794 |
servidor. En windows puedes hacer doble click en el fichero o abrir |
795 |
una consola de MSDOS y tras situarte en el directorio de Minë teclear |
796 |
'python mine.py'. En GNU/Linux lo más sencillo es ejecutar mine.py |
797 |
desde una consola mediante ./mine.py o con python mine.py. |
798 |
|
799 |
Una vez hecho esto, te falta LO MÃS IMPORTANTE. ESTO ES, EL CLIENTE DE MUD. |
800 |
No es suficiente con haber arrancado el servidor de Minë (mine.py), con eso no haces nada. Necesitas un cliente de MUD, un programa que sirva para conectarse a juegos de tipo MUD/MUSH. Para conocer algunos ve a http://eutherpe.org. Cuando consigas uno, asegúrate de que has ejecutado mine.py y conéctate con los parámetros siguientes: |
801 |
|
802 |
host/server: 127.0.0.1 |
803 |
port: 2000 |
804 |
|
805 |
Y tendrás un mensaje de bienvenida al juego. |
806 |
|
807 |
De los directorios... |
808 |
|
809 |
desc_objetos: ficheros XML en donde almacenar los ficheros de objetos. |
810 |
desc_pnjs: Ãdem con pnjs |
811 |
desc_salas: Ãdem con salas. |
812 |
documentos: documentos variados que cubren la creación de salas, objetos y pnjs, entre otros. |
813 |
otros: miscelánea. |
814 |
pnjs: ficheros de Minë obtenidos de los XML. |
815 |
salas: Ãdem con salas. |
816 |
objetos: Ãdem con objetos. |
817 |
scripts: programas varios. |
818 |
tester: programas para probar ficheros XML de salas. |
819 |
|
820 |
De los ficheros... |
821 |
|
822 |
De momento el que más te interesa es clave_maiar.txt |
823 |
La palabra ahà escrita es la clave para poder ser un Maia. |
824 |
si un jugador, cuando está creando un personaje, elige como clave |
825 |
la clave que está en clave_maiar.txt, ese jugador será considerado |
826 |
Maia (administrador) y tendrá acceso a comandos especiales. |
827 |
|
828 |
Si pretendes montar un servidor de acceso público, cambia la palabra |
829 |
de clave_maiar.txt (puede ser tan larga como quieras siempre que no |
830 |
incluya espacios). |
831 |
|
832 |
pabloruiz@gnu.org |
833 |
hirunatan@hammo.org |
834 |
190 actualizar-desc-salas.py |
835 |
379 ayuda.py |
836 |
207 bloquedialogo.py |
837 |
375 connection.py |
838 |
112 contexto.py |
839 |
170 controlador.py |
840 |
255 conversacion.py |
841 |
115 cronomine.py |
842 |
1167 dialogocrear.py |
843 |
91 dialogoinicial.py |
844 |
1687 dialogonormal.py |
845 |
146 dialogo.py |
846 |
116 dialogorecuperar.py |
847 |
60 dialogosalir.py |
848 |
511 fechahoramine.py |
849 |
166 fragmento.py |
850 |
84 idioma.py |
851 |
319 interfazpj.py |
852 |
260 interfazpnjhablante.py |
853 |
309 interfazpnj.py |
854 |
131 item.py |
855 |
81 logo.py |
856 |
88 mine.py |
857 |
233 mundo.py |
858 |
425 objeto.py |
859 |
217 personajejugador.py |
860 |
137 personajenojugador.py |
861 |
1104 personaje.py |
862 |
305 pnj.py |
863 |
131 profesion.py |
864 |
253 raza.py |
865 |
789 sala.py |
866 |
153 tema.py |
867 |
167 utils.py |
868 |
336 visita.py |
869 |
11269 total |
870 |
2010-04-06 22:29:07,106 INFO (Basico) Iniciado servidor en puerto 2000 |
871 |
2010-04-06 22:29:27,454 INFO (Dialogos) Creado diálogo inicial con un jugador |
872 |
2010-04-06 22:29:27,455 INFO (Basico) Conectado nuevo cliente desde 127.0.0.1. |
873 |
2010-04-06 22:29:32,324 ERROR (PJ) Excepción imprevista durante la ejecución de un comando. |
874 |
2010-04-06 22:29:32,325 ERROR (PJ) -> conexión desde 127.0.0.1 |
875 |
2010-04-06 22:29:32,325 ERROR (PJ) -> comando |
876 |
2010-04-06 22:29:32,325 ERROR (PJ) -> dialogo <type 'NoneType'> |
877 |
2010-04-06 22:29:32,326 ERROR (PJ) Datos de la exepción: |
878 |
Traceback (most recent call last): |
879 |
File "/mnt/datos/Desarrollo.otros/ambar/InterfazPJ.py", line 275, in comando_recibido |
880 |
nombre_func = "comando_" + str(self.__dialogo.estado()) |
881 |
AttributeError: 'NoneType' object has no attribute 'estado' |
882 |
2010-04-06 22:29:32,327 INFO (Dialogos) Creado diálogo inicial con un jugador |
883 |
2010-04-06 22:29:36,951 WARNING (PJ) Se ha caido bruscamente la conexion con 127.0.0.1 |
884 |
2010-04-06 22:29:38,224 INFO (Basico) Interrumpido manualmente por el operador |
885 |
2010-04-06 22:29:38,224 INFO (Basico) Saliendo del programa... |
886 |
2010-04-06 22:29:38,225 INFO (Basico) |
887 |
|
888 |
********CRASH****** |
889 |
|
890 |
|
891 |
2010-04-06 22:31:30,700 INFO (Basico) Iniciado servidor en puerto 2000 |
892 |
2010-04-06 22:31:40,264 INFO (Basico) Interrumpido manualmente por el operador |
893 |
2010-04-06 22:31:40,264 INFO (Basico) Saliendo del programa... |
894 |
2010-04-06 22:31:40,265 INFO (Basico) |
895 |
|
896 |
********CRASH****** |
897 |
|
898 |
|
899 |
2010-04-06 22:32:13,410 INFO (Basico) Iniciado servidor en puerto 2000 |
900 |
2010-04-06 22:39:04,854 INFO (Basico) Interrumpido manualmente por el operador |
901 |
2010-04-06 22:39:04,855 INFO (Basico) Saliendo del programa... |
902 |
2010-04-06 22:39:04,855 INFO (Basico) |
903 |
|
904 |
********CRASH****** |
905 |
|
906 |
|
907 |
2010-04-06 22:42:29,882 INFO (Basico) Iniciado servidor en puerto 2000 |
908 |
2010-04-06 22:42:53,311 INFO (Dialogos) Creado diálogo inicial con un jugador |
909 |
2010-04-06 22:42:53,312 INFO (Basico) Conectado nuevo cliente desde 127.0.0.1. |
910 |
2010-04-06 22:43:05,236 WARNING (PJ) Se ha caido bruscamente la conexion con 127.0.0.1 |
911 |
2010-04-06 22:50:03,864 INFO (Basico) Interrumpido manualmente por el operador |
912 |
2010-04-06 22:50:03,864 INFO (Basico) Saliendo del programa... |
913 |
2010-04-06 22:50:03,865 INFO (Basico) |
914 |
|
915 |
********CRASH****** |
916 |
|
917 |
|
918 |
2010-04-06 22:51:25,810 INFO (Basico) Iniciado servidor en puerto 2000 |
919 |
2010-04-06 22:52:55,044 INFO (Basico) Interrumpido manualmente por el operador |
920 |
2010-04-06 22:52:55,044 INFO (Basico) Saliendo del programa... |
921 |
2010-04-06 22:52:55,045 INFO (Basico) |
922 |
|
923 |
********CRASH****** |
924 |
|
925 |
|
926 |
; Configuración de log de Minë. Este fichero es leÃdo por el mine al |
927 |
; arrancar, y se recarga automáticamente si es modificado. |
928 |
|
929 |
[loggers] |
930 |
keys = root,Basico,Modulos,Objetos,Dialogos,Personajes,PJs,PNJs,Mundo,Salas,Editor |
931 |
; Bloques de mensajes. Se puede configurar para cada uno de ellos el |
932 |
; nivel de trazas y el dispositivo de salida. |
933 |
; - root: el que salta si otro está marcado como NOTSET. No se usa. |
934 |
; - Basico: fecha, cronos, utils, etc. |
935 |
; - Modulos: Modulo, Opcion, Guion, Requisito, Accion |
936 |
; - Objetos: Objeto |
937 |
; - Dialogos: DialogoXXX |
938 |
; - Personajes: Personaje |
939 |
; - PJ: PersonajeJugador, InterfazPJ |
940 |
; - PNJ: PersonajeNoJugador, InterfazPNJ |
941 |
; - Mundo: Mundo |
942 |
; - Salas: Sala |
943 |
; - Editor: Editor de Minë (Ambartan) |
944 |
; Los niveles de trazas (de menor a mayor importancia) son: |
945 |
; - DEBUG: información interna muy detallada, útil para buscar fallos |
946 |
; - INFO: información de por dónde va ejecutandose el programa |
947 |
; - WARNING: errores de usuario (un bug en un Guion, por ejemplo) |
948 |
; - ERROR: errores del programa, que se pueden recuperar |
949 |
; - CRITICAL: errores del programa, que provocan un casque |
950 |
|
951 |
[handlers] |
952 |
keys = Pantalla,Fichero |
953 |
; Dispositivos de salida de mensajes. También se puede configurar un |
954 |
; nivel de trazas, o sino dejarlo en NOTSET para que saque todos. |
955 |
; - Pantalla: saca los mensajes por la consola stdout. |
956 |
; - Fichero: graba los mensajes en el fichero logfile.txt. Cuando |
957 |
; crece hasta 100k, lo pasa a logfile.txt.1 y abre uno nuevo, y asà |
958 |
; hasta logfile.txt.5. |
959 |
|
960 |
[formatters] |
961 |
keys = Normal |
962 |
; Formateador por defecto. Saca los mensajes con el estilo |
963 |
; 2004-09-02 08:15:30,498 INFO (Salas) Entra personaje Hirunatan |
964 |
|
965 |
[logger_root] |
966 |
level = INFO |
967 |
handlers = Pantalla,Fichero |
968 |
|
969 |
[logger_Basico] |
970 |
level = DEBUG |
971 |
handlers = Pantalla,Fichero |
972 |
propagate = 0 |
973 |
qualname = Basico |
974 |
|
975 |
[logger_Modulos] |
976 |
level = DEBUG |
977 |
handlers = Pantalla,Fichero |
978 |
propagate = 0 |
979 |
qualname = Modulos |
980 |
|
981 |
[logger_Objetos] |
982 |
level = DEBUG |
983 |
handlers = Pantalla,Fichero |
984 |
propagate = 0 |
985 |
qualname = Objetos |
986 |
|
987 |
[logger_Dialogos] |
988 |
level = DEBUG |
989 |
handlers = Pantalla,Fichero |
990 |
propagate = 0 |
991 |
qualname = Dialogos |
992 |
|
993 |
[logger_Personajes] |
994 |
level = DEBUG |
995 |
handlers = Pantalla,Fichero |
996 |
propagate = 0 |
997 |
qualname = Personajes |
998 |
|
999 |
[logger_PJs] |
1000 |
level = DEBUG |
1001 |
handlers = Pantalla,Fichero |
1002 |
propagate = 0 |
1003 |
qualname = PJs |
1004 |
|
1005 |
[logger_PNJs] |
1006 |
level = DEBUG |
1007 |
handlers = Pantalla,Fichero |
1008 |
propagate = 0 |
1009 |
qualname = PNJs |
1010 |
|
1011 |
[logger_Mundo] |
1012 |
level = DEBUG |
1013 |
handlers = Pantalla,Fichero |
1014 |
propagate = 0 |
1015 |
qualname = Mundo |
1016 |
|
1017 |
[logger_Salas] |
1018 |
level = DEBUG |
1019 |
handlers = Pantalla,Fichero |
1020 |
propagate = 0 |
1021 |
qualname = Salas |
1022 |
|
1023 |
[logger_Editor] |
1024 |
level = DEBUG |
1025 |
handlers = Pantalla,Fichero |
1026 |
propagate = 0 |
1027 |
qualname = Editor |
1028 |
|
1029 |
[handler_Pantalla] |
1030 |
level = NOTSET |
1031 |
formatter = Normal |
1032 |
class = StreamHandler |
1033 |
args = (sys.stdout,) |
1034 |
|
1035 |
[handler_Fichero] |
1036 |
level = NOTSET |
1037 |
formatter = Normal |
1038 |
;%%Paice que no funciona el Rotating, habrá que ver por qué |
1039 |
;class = RotatingFileHandlerXXX |
1040 |
;args = ('logfile.txt', 'a', 100000, 5) |
1041 |
class = FileHandler |
1042 |
args = ('logfile.txt', 'a') |
1043 |
|
1044 |
[formatter_Normal] |
1045 |
format = %(asctime)s %(levelname)s (%(name)s) %(message)s |
1046 |
datefmt = |
1047 |
|
1048 |
tolkien |
1049 |
GNU GENERAL PUBLIC LICENSE |
1050 |
Version 2, June 1991 |
1051 |
|
1052 |
Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
1053 |
675 Mass Ave, Cambridge, MA 02139, USA |
1054 |
Everyone is permitted to copy and distribute verbatim copies |
1055 |
of this license document, but changing it is not allowed. |
1056 |
|
1057 |
Preamble |
1058 |
|
1059 |
The licenses for most software are designed to take away your |
1060 |
freedom to share and change it. By contrast, the GNU General Public |
1061 |
License is intended to guarantee your freedom to share and change free |
1062 |
software--to make sure the software is free for all its users. This |
1063 |
General Public License applies to most of the Free Software |
1064 |
Foundation's software and to any other program whose authors commit to |
1065 |
using it. (Some other Free Software Foundation software is covered by |
1066 |
the GNU Library General Public License instead.) You can apply it to |
1067 |
your programs, too. |
1068 |
|
1069 |
When we speak of free software, we are referring to freedom, not |
1070 |
price. Our General Public Licenses are designed to make sure that you |
1071 |
have the freedom to distribute copies of free software (and charge for |
1072 |
this service if you wish), that you receive source code or can get it |
1073 |
if you want it, that you can change the software or use pieces of it |
1074 |
in new free programs; and that you know you can do these things. |
1075 |
|
1076 |
To protect your rights, we need to make restrictions that forbid |
1077 |
anyone to deny you these rights or to ask you to surrender the rights. |
1078 |
These restrictions translate to certain responsibilities for you if you |
1079 |
distribute copies of the software, or if you modify it. |
1080 |
|
1081 |
For example, if you distribute copies of such a program, whether |
1082 |
gratis or for a fee, you must give the recipients all the rights that |
1083 |
you have. You must make sure that they, too, receive or can get the |
1084 |
source code. And you must show them these terms so they know their |
1085 |
rights. |
1086 |
|
1087 |
We protect your rights with two steps: (1) copyright the software, and |
1088 |
(2) offer you this license which gives you legal permission to copy, |
1089 |
distribute and/or modify the software. |
1090 |
|
1091 |
Also, for each author's protection and ours, we want to make certain |
1092 |
that everyone understands that there is no warranty for this free |
1093 |
software. If the software is modified by someone else and passed on, we |
1094 |
want its recipients to know that what they have is not the original, so |
1095 |
that any problems introduced by others will not reflect on the original |
1096 |
authors' reputations. |
1097 |
|
1098 |
Finally, any free program is threatened constantly by software |
1099 |
patents. We wish to avoid the danger that redistributors of a free |
1100 |
program will individually obtain patent licenses, in effect making the |
1101 |
program proprietary. To prevent this, we have made it clear that any |
1102 |
patent must be licensed for everyone's free use or not licensed at all. |
1103 |
|
1104 |
The precise terms and conditions for copying, distribution and |
1105 |
modification follow. |
1106 |
|
1107 |
GNU GENERAL PUBLIC LICENSE |
1108 |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
1109 |
|
1110 |
0. This License applies to any program or other work which contains |
1111 |
a notice placed by the copyright holder saying it may be distributed |
1112 |
under the terms of this General Public License. The "Program", below, |
1113 |
refers to any such program or work, and a "work based on the Program" |
1114 |
means either the Program or any derivative work under copyright law: |
1115 |
that is to say, a work containing the Program or a portion of it, |
1116 |
either verbatim or with modifications and/or translated into another |
1117 |
language. (Hereinafter, translation is included without limitation in |
1118 |
the term "modification".) Each licensee is addressed as "you". |
1119 |
|
1120 |
Activities other than copying, distribution and modification are not |
1121 |
covered by this License; they are outside its scope. The act of |
1122 |
running the Program is not restricted, and the output from the Program |
1123 |
is covered only if its contents constitute a work based on the |
1124 |
Program (independent of having been made by running the Program). |
1125 |
Whether that is true depends on what the Program does. |
1126 |
|
1127 |
1. You may copy and distribute verbatim copies of the Program's |
1128 |
source code as you receive it, in any medium, provided that you |
1129 |
conspicuously and appropriately publish on each copy an appropriate |
1130 |
copyright notice and disclaimer of warranty; keep intact all the |
1131 |
notices that refer to this License and to the absence of any warranty; |
1132 |
and give any other recipients of the Program a copy of this License |
1133 |
along with the Program. |
1134 |
|
1135 |
You may charge a fee for the physical act of transferring a copy, and |
1136 |
you may at your option offer warranty protection in exchange for a fee. |
1137 |
|
1138 |
2. You may modify your copy or copies of the Program or any portion |
1139 |
of it, thus forming a work based on the Program, and copy and |
1140 |
distribute such modifications or work under the terms of Section 1 |
1141 |
above, provided that you also meet all of these conditions: |
1142 |
|
1143 |
a) You must cause the modified files to carry prominent notices |
1144 |
stating that you changed the files and the date of any change. |
1145 |
|
1146 |
b) You must cause any work that you distribute or publish, that in |
1147 |
whole or in part contains or is derived from the Program or any |
1148 |
part thereof, to be licensed as a whole at no charge to all third |
1149 |
parties under the terms of this License. |
1150 |
|
1151 |
c) If the modified program normally reads commands interactively |
1152 |
when run, you must cause it, when started running for such |
1153 |
interactive use in the most ordinary way, to print or display an |
1154 |
announcement including an appropriate copyright notice and a |
1155 |
notice that there is no warranty (or else, saying that you provide |
1156 |
a warranty) and that users may redistribute the program under |
1157 |
these conditions, and telling the user how to view a copy of this |
1158 |
License. (Exception: if the Program itself is interactive but |
1159 |
does not normally print such an announcement, your work based on |
1160 |
the Program is not required to print an announcement.) |
1161 |
|
1162 |
These requirements apply to the modified work as a whole. If |
1163 |
identifiable sections of that work are not derived from the Program, |
1164 |
and can be reasonably considered independent and separate works in |
1165 |
themselves, then this License, and its terms, do not apply to those |
1166 |
sections when you distribute them as separate works. But when you |
1167 |
distribute the same sections as part of a whole which is a work based |
1168 |
on the Program, the distribution of the whole must be on the terms of |
1169 |
this License, whose permissions for other licensees extend to the |
1170 |
entire whole, and thus to each and every part regardless of who wrote it. |
1171 |
|
1172 |
Thus, it is not the intent of this section to claim rights or contest |
1173 |
your rights to work written entirely by you; rather, the intent is to |
1174 |
exercise the right to control the distribution of derivative or |
1175 |
collective works based on the Program. |
1176 |
|
1177 |
In addition, mere aggregation of another work not based on the Program |
1178 |
with the Program (or with a work based on the Program) on a volume of |
1179 |
a storage or distribution medium does not bring the other work under |
1180 |
the scope of this License. |
1181 |
|
1182 |
3. You may copy and distribute the Program (or a work based on it, |
1183 |
under Section 2) in object code or executable form under the terms of |
1184 |
Sections 1 and 2 above provided that you also do one of the following: |
1185 |
|
1186 |
a) Accompany it with the complete corresponding machine-readable |
1187 |
source code, which must be distributed under the terms of Sections |
1188 |
1 and 2 above on a medium customarily used for software interchange; or, |
1189 |
|
1190 |
b) Accompany it with a written offer, valid for at least three |
1191 |
years, to give any third party, for a charge no more than your |
1192 |
cost of physically performing source distribution, a complete |
1193 |
machine-readable copy of the corresponding source code, to be |
1194 |
distributed under the terms of Sections 1 and 2 above on a medium |
1195 |
customarily used for software interchange; or, |
1196 |
|
1197 |
c) Accompany it with the information you received as to the offer |
1198 |
to distribute corresponding source code. (This alternative is |
1199 |
allowed only for noncommercial distribution and only if you |
1200 |
received the program in object code or executable form with such |
1201 |
an offer, in accord with Subsection b above.) |
1202 |
|
1203 |
The source code for a work means the preferred form of the work for |
1204 |
making modifications to it. For an executable work, complete source |
1205 |
code means all the source code for all modules it contains, plus any |
1206 |
associated interface definition files, plus the scripts used to |
1207 |
control compilation and installation of the executable. However, as a |
1208 |
special exception, the source code distributed need not include |
1209 |
anything that is normally distributed (in either source or binary |
1210 |
form) with the major components (compiler, kernel, and so on) of the |
1211 |
operating system on which the executable runs, unless that component |
1212 |
itself accompanies the executable. |
1213 |
|
1214 |
If distribution of executable or object code is made by offering |
1215 |
access to copy from a designated place, then offering equivalent |
1216 |
access to copy the source code from the same place counts as |
1217 |
distribution of the source code, even though third parties are not |
1218 |
compelled to copy the source along with the object code. |
1219 |
|
1220 |
4. You may not copy, modify, sublicense, or distribute the Program |
1221 |
except as expressly provided under this License. Any attempt |
1222 |
otherwise to copy, modify, sublicense or distribute the Program is |
1223 |
void, and will automatically terminate your rights under this License. |
1224 |
However, parties who have received copies, or rights, from you under |
1225 |
this License will not have their licenses terminated so long as such |
1226 |
parties remain in full compliance. |
1227 |
|
1228 |
5. You are not required to accept this License, since you have not |
1229 |
signed it. However, nothing else grants you permission to modify or |
1230 |
distribute the Program or its derivative works. These actions are |
1231 |
prohibited by law if you do not accept this License. Therefore, by |
1232 |
modifying or distributing the Program (or any work based on the |
1233 |
Program), you indicate your acceptance of this License to do so, and |
1234 |
all its terms and conditions for copying, distributing or modifying |
1235 |
the Program or works based on it. |
1236 |
|
1237 |
6. Each time you redistribute the Program (or any work based on the |
1238 |
Program), the recipient automatically receives a license from the |
1239 |
original licensor to copy, distribute or modify the Program subject to |
1240 |
these terms and conditions. You may not impose any further |
1241 |
restrictions on the recipients' exercise of the rights granted herein. |
1242 |
You are not responsible for enforcing compliance by third parties to |
1243 |
this License. |
1244 |
|
1245 |
7. If, as a consequence of a court judgment or allegation of patent |
1246 |
infringement or for any other reason (not limited to patent issues), |
1247 |
conditions are imposed on you (whether by court order, agreement or |
1248 |
otherwise) that contradict the conditions of this License, they do not |
1249 |
excuse you from the conditions of this License. If you cannot |
1250 |
distribute so as to satisfy simultaneously your obligations under this |
1251 |
License and any other pertinent obligations, then as a consequence you |
1252 |
may not distribute the Program at all. For example, if a patent |
1253 |
license would not permit royalty-free redistribution of the Program by |
1254 |
all those who receive copies directly or indirectly through you, then |
1255 |
the only way you could satisfy both it and this License would be to |
1256 |
refrain entirely from distribution of the Program. |
1257 |
|
1258 |
If any portion of this section is held invalid or unenforceable under |
1259 |
any particular circumstance, the balance of the section is intended to |
1260 |
apply and the section as a whole is intended to apply in other |
1261 |
circumstances. |
1262 |
|
1263 |
It is not the purpose of this section to induce you to infringe any |
1264 |
patents or other property right claims or to contest validity of any |
1265 |
such claims; this section has the sole purpose of protecting the |
1266 |
integrity of the free software distribution system, which is |
1267 |
implemented by public license practices. Many people have made |
1268 |
generous contributions to the wide range of software distributed |
1269 |
through that system in reliance on consistent application of that |
1270 |
system; it is up to the author/donor to decide if he or she is willing |
1271 |
to distribute software through any other system and a licensee cannot |
1272 |
impose that choice. |
1273 |
|
1274 |
This section is intended to make thoroughly clear what is believed to |
1275 |
be a consequence of the rest of this License. |
1276 |
|
1277 |
8. If the distribution and/or use of the Program is restricted in |
1278 |
certain countries either by patents or by copyrighted interfaces, the |
1279 |
original copyright holder who places the Program under this License |
1280 |
may add an explicit geographical distribution limitation excluding |
1281 |
those countries, so that distribution is permitted only in or among |
1282 |
countries not thus excluded. In such case, this License incorporates |
1283 |
the limitation as if written in the body of this License. |
1284 |
|
1285 |
9. The Free Software Foundation may publish revised and/or new versions |
1286 |
of the General Public License from time to time. Such new versions will |
1287 |
be similar in spirit to the present version, but may differ in detail to |
1288 |
address new problems or concerns. |
1289 |
|
1290 |
Each version is given a distinguishing version number. If the Program |
1291 |
specifies a version number of this License which applies to it and "any |
1292 |
later version", you have the option of following the terms and conditions |
1293 |
either of that version or of any later version published by the Free |
1294 |
Software Foundation. If the Program does not specify a version number of |
1295 |
this License, you may choose any version ever published by the Free Software |
1296 |
Foundation. |
1297 |
|
1298 |
10. If you wish to incorporate parts of the Program into other free |
1299 |
programs whose distribution conditions are different, write to the author |
1300 |
to ask for permission. For software which is copyrighted by the Free |
1301 |
Software Foundation, write to the Free Software Foundation; we sometimes |
1302 |
make exceptions for this. Our decision will be guided by the two goals |
1303 |
of preserving the free status of all derivatives of our free software and |
1304 |
of promoting the sharing and reuse of software generally. |
1305 |
|
1306 |
NO WARRANTY |
1307 |
|
1308 |
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
1309 |
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
1310 |
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
1311 |
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
1312 |
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
1313 |
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
1314 |
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
1315 |
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
1316 |
REPAIR OR CORRECTION. |
1317 |
|
1318 |
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
1319 |
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
1320 |
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
1321 |
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
1322 |
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
1323 |
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
1324 |
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
1325 |
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
1326 |
POSSIBILITY OF SUCH DAMAGES. |
1327 |
|
1328 |
END OF TERMS AND CONDITIONS |
1329 |
|
1330 |
Appendix: How to Apply These Terms to Your New Programs |
1331 |
|
1332 |
If you develop a new program, and you want it to be of the greatest |
1333 |
possible use to the public, the best way to achieve this is to make it |
1334 |
free software which everyone can redistribute and change under these terms. |
1335 |
|
1336 |
To do so, attach the following notices to the program. It is safest |
1337 |
to attach them to the start of each source file to most effectively |
1338 |
convey the exclusion of warranty; and each file should have at least |
1339 |
the "copyright" line and a pointer to where the full notice is found. |
1340 |
|
1341 |
<one line to give the program's name and a brief idea of what it does.> |
1342 |
Copyright (C) 19yy <name of author> |
1343 |
|
1344 |
This program is free software; you can redistribute it and/or modify |
1345 |
it under the terms of the GNU General Public License as published by |
1346 |
the Free Software Foundation; either version 2 of the License, or |
1347 |
(at your option) any later version. |
1348 |
|
1349 |
This program is distributed in the hope that it will be useful, |
1350 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
1351 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1352 |
GNU General Public License for more details. |
1353 |
|
1354 |
You should have received a copy of the GNU General Public License |
1355 |
along with this program; if not, write to the Free Software |
1356 |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
1357 |
|
1358 |
Also add information on how to contact you by electronic and paper mail. |
1359 |
|
1360 |
If the program is interactive, make it output a short notice like this |
1361 |
when it starts in an interactive mode: |
1362 |
|
1363 |
Gnomovision version 69, Copyright (C) 19yy name of author |
1364 |
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
1365 |
This is free software, and you are welcome to redistribute it |
1366 |
under certain conditions; type `show c' for details. |
1367 |
|
1368 |
The hypothetical commands `show w' and `show c' should show the appropriate |
1369 |
parts of the General Public License. Of course, the commands you use may |
1370 |
be called something other than `show w' and `show c'; they could even be |
1371 |
mouse-clicks or menu items--whatever suits your program. |
1372 |
|
1373 |
You should also get your employer (if you work as a programmer) or your |
1374 |
school, if any, to sign a "copyright disclaimer" for the program, if |
1375 |
necessary. Here is a sample; alter the names: |
1376 |
|
1377 |
Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
1378 |
`Gnomovision' (which makes passes at compilers) written by James Hacker. |
1379 |
|
1380 |
<signature of Ty Coon>, 1 April 1989 |
1381 |
Ty Coon, President of Vice |
1382 |
|
1383 |
This General Public License does not permit incorporating your program into |
1384 |
proprietary programs. If your program is a subroutine library, you may |
1385 |
consider it more useful to permit linking proprietary applications with the |
1386 |
library. If this is what you want to do, use the GNU Library General |
1387 |
Public License instead of this License. |
1388 |
#!/usr/bin/env python |
1389 |
# |
1390 |
#Minë. Mundo Interactivo-Narrativo en Español [Tierra-Media] |
1391 |
#Copyright (C) 2002 Pablo Ruiz Múzquiz |
1392 |
# |
1393 |
# |
1394 |
#This program is free software; you can redistribute it and/or modify |
1395 |
#it under the terms of the GNU General Public License as published by |
1396 |
#the Free Software Foundation; either version 2 of the License, or |
1397 |
#(at your option) any later version. |
1398 |
# |
1399 |
#This program is distributed in the hope that it will be useful, |
1400 |
#but WITHOUT ANY WARRANTY; without even the implied warranty of |
1401 |
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1402 |
#GNU General Public License for more details. |
1403 |
# |
1404 |
#You should have received a copy of the GNU General Public License |
1405 |
#along with this program; if not, write to the Free Software |
1406 |
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
1407 |
# |
1408 |
Minë. Mundo Interactivo-Narrativo en Español [Tierra-Media]
|
1409 |
Copyright (C) 2002 Pablo Ruiz Múzquiz
|
1410 |
|
1411 |
-------------------------
|
1412 |
Ambartan v 0.3 Beta
|
1413 |
Editor de objetos para Minë
|
1414 |
Copyright (C) 2003 Gabriel Pulido de Torres
|
1415 |
Bajo licencia GPL
|
1416 |
----------------------------------
|
1417 |
|
1418 |
Consta de los siguientes ficheros:
|
1419 |
|
1420 |
sala_editable.py
|
1421 |
wxEditor.py
|
1422 |
wxPpal.py
|
1423 |
frSala.py
|
1424 |
frArbol.py
|
1425 |
|
1426 |
Se ha desarrollado usando Boa v0.2.3
|
1427 |
Es necesario tener instalado Python 2.3 (www.python.org) y wxPython 2.4 for python 2.3 (www.wxPython.org)
|
1428 |
Para arrancar ejecutar el wxEditor, tienen que estar ubicados en el mismo directorio del mine.
|
1429 |
|
1430 |
versión 0.3 Beta (4-12-2003)
|
1431 |
-----------------
|
1432 |
-Implementado que pregunte antes de cerrar una sala que ha sido modificada.
|
1433 |
-Modificación en la pestaña de las Descripciones, ahora se comporta como las otras
|
1434 |
-Cada vez que se modifica algo en cualquier sitio la sala se pone en estado modificado, con lo que pregunta.
|
1435 |
|
1436 |
versión 0.2 Beta
|
1437 |
-----------------
|
1438 |
-Implementado borrado de zonas desde el arbol, no se gestiona todavÃa si están abiertos los objetos que se van a borrar
|
1439 |
-Implementado item de menú fichero para cerrar una ventana activa excepto el árbol de navegación, se ha incluido pq en Linux los child/parents se muestran en notebooks sin botón de cierre,no en frames
|
1440 |
-Arreglado el añadido de salidas, descripciones y objetos que no funcionaba
|
1441 |
-La edición de guiones no está implementada, pero si una sala contiene guiones, aunque no se puedan editar ni ver, al guardar la sala, se conservan
|
1442 |
|
1443 |
versión 0.1 alfa
|
1444 |
------------------
|
1445 |
-Actualmente sólo está implementada la opción de editar/crear/guardar salas, llamado módulo Mardentan.
|
1446 |
-Pinchando en las ramas del arbol de navegación correspondientes a las salas se abren éstas para su edición.
|
1447 |
-El menú archivo permite guardar, crear y borrar salas, eso sà para poder guardar o borrar tiene que estar activa una ventana de sala
|
1448 |
-Actualmente se come los guiones de las salidas y de los objetos, no sólo no se pueden editar sino que si se edita una sala
|
1449 |
que contenga guiens al guardarla se pierden. Para ello hay que implementar en sala_editable.py métodos que guarden los
|
1450 |
guiones junto con el resto de las cosas.
|
1451 |
-Falta gestionar errores a tutiplen, sacar mensajes al usuario y poner ayudas por todas partes...
|
1452 |
|
1453 |
|
1454 |
Minë - Mundo Interactivo-Narrativo en Español |
1455 |
|
1456 |
Fichero LEEME |
1457 |
|
1458 |
Antes de nada, necesitas haber instalado el intérprete python (versión 2.2) |
1459 |
para tu plataforma. Ve a http://python.org, descárgalo e instálalo. |
1460 |
|
1461 |
En el directorio de Minë hay muchos ficheros y algunos |
1462 |
directorios. De los ficheros del directorio principal sólo deberÃa |
1463 |
preocuparte mine.py, que es el que deberás ejecutar para iniciar el |
1464 |
servidor. En windows puedes hacer doble click en el fichero o abrir |
1465 |
una consola de MSDOS y tras situarte en el directorio de Minë teclear |
1466 |
'python mine.py'. En GNU/Linux lo más sencillo es ejecutar mine.py |
1467 |
desde una consola mediante ./mine.py o con python mine.py. |
1468 |
|
1469 |
Una vez hecho esto, te falta LO MÃS IMPORTANTE. ESTO ES, EL CLIENTE DE MUD. |
1470 |
No es suficiente con haber arrancado el servidor de Minë (mine.py), con eso no haces nada. Necesitas un cliente de MUD, un programa que sirva para conectarse a juegos de tipo MUD/MUSH. Para conocer algunos ve a http://eutherpe.org. Cuando consigas uno, asegúrate de que has ejecutado mine.py y conéctate con los parámetros siguientes: |
1471 |
|
1472 |
host/server: 127.0.0.1 |
1473 |
port: 2000 |
1474 |
|
1475 |
Y tendrás un mensaje de bienvenida al juego. |
1476 |
|
1477 |
De los directorios... |
1478 |
|
1479 |
desc_objetos: ficheros XML en donde almacenar los ficheros de objetos. |
1480 |
desc_pnjs: Ãdem con pnjs |
1481 |
desc_salas: Ãdem con salas. |
1482 |
documentos: documentos variados que cubren la creación de salas, objetos y pnjs, entre otros. |
1483 |
otros: miscelánea. |
1484 |
pnjs: ficheros de Minë obtenidos de los XML. |
1485 |
salas: Ãdem con salas. |
1486 |
objetos: Ãdem con objetos. |
1487 |
scripts: programas varios. |
1488 |
tester: programas para probar ficheros XML de salas. |
1489 |
|
1490 |
De los ficheros... |
1491 |
|
1492 |
De momento el que más te interesa es clave_maiar.txt |
1493 |
La palabra ahà escrita es la clave para poder ser un Maia. |
1494 |
si un jugador, cuando está creando un personaje, elige como clave |
1495 |
la clave que está en clave_maiar.txt, ese jugador será considerado |
1496 |
Maia (administrador) y tendrá acceso a comandos especiales. |
1497 |
|
1498 |
Si pretendes montar un servidor de acceso público, cambia la palabra |
1499 |
de clave_maiar.txt (puede ser tan larga como quieras siempre que no |
1500 |
incluya espacios). |
1501 |
|
1502 |
pabloruiz@gnu.org |
1503 |
hirunatan@hammo.org |
1504 |
190 actualizar-desc-salas.py |
1505 |
379 ayuda.py |
1506 |
207 bloquedialogo.py |
1507 |
375 connection.py |
1508 |
112 contexto.py |
1509 |
170 controlador.py |
1510 |
255 conversacion.py |
1511 |
115 cronomine.py |
1512 |
1167 dialogocrear.py |
1513 |
91 dialogoinicial.py |
1514 |
1687 dialogonormal.py |
1515 |
146 dialogo.py |
1516 |
116 dialogorecuperar.py |
1517 |
60 dialogosalir.py |
1518 |
511 fechahoramine.py |
1519 |
166 fragmento.py |
1520 |
84 idioma.py |
1521 |
319 interfazpj.py |
1522 |
260 interfazpnjhablante.py |
1523 |
309 interfazpnj.py |
1524 |
131 item.py |
1525 |
81 logo.py |
1526 |
88 mine.py |
1527 |
233 mundo.py |
1528 |
425 objeto.py |
1529 |
217 personajejugador.py |
1530 |
137 personajenojugador.py |
1531 |
1104 personaje.py |
1532 |
305 pnj.py |
1533 |
131 profesion.py |
1534 |
253 raza.py |
1535 |
789 sala.py |
1536 |
153 tema.py |
1537 |
167 utils.py |
1538 |
336 visita.py |
1539 |
11269 total |
1540 |
2010-04-06 22:29:07,106 INFO (Basico) Iniciado servidor en puerto 2000 |
1541 |
2010-04-06 22:29:27,454 INFO (Dialogos) Creado diálogo inicial con un jugador |
1542 |
2010-04-06 22:29:27,455 INFO (Basico) Conectado nuevo cliente desde 127.0.0.1. |
1543 |
2010-04-06 22:29:32,324 ERROR (PJ) Excepción imprevista durante la ejecución de un comando. |
1544 |
2010-04-06 22:29:32,325 ERROR (PJ) -> conexión desde 127.0.0.1 |
1545 |
2010-04-06 22:29:32,325 ERROR (PJ) -> comando |
1546 |
2010-04-06 22:29:32,325 ERROR (PJ) -> dialogo <type 'NoneType'> |
1547 |
2010-04-06 22:29:32,326 ERROR (PJ) Datos de la exepción: |
1548 |
Traceback (most recent call last): |
1549 |
File "/mnt/datos/Desarrollo.otros/ambar/InterfazPJ.py", line 275, in comando_recibido |
1550 |
nombre_func = "comando_" + str(self.__dialogo.estado()) |
1551 |
AttributeError: 'NoneType' object has no attribute 'estado' |
1552 |
2010-04-06 22:29:32,327 INFO (Dialogos) Creado diálogo inicial con un jugador |
1553 |
2010-04-06 22:29:36,951 WARNING (PJ) Se ha caido bruscamente la conexion con 127.0.0.1 |
1554 |
2010-04-06 22:29:38,224 INFO (Basico) Interrumpido manualmente por el operador |
1555 |
2010-04-06 22:29:38,224 INFO (Basico) Saliendo del programa... |
1556 |
2010-04-06 22:29:38,225 INFO (Basico) |
1557 |
|
1558 |
********CRASH****** |
1559 |
|
1560 |
|
1561 |
2010-04-06 22:31:30,700 INFO (Basico) Iniciado servidor en puerto 2000 |
1562 |
2010-04-06 22:31:40,264 INFO (Basico) Interrumpido manualmente por el operador |
1563 |
2010-04-06 22:31:40,264 INFO (Basico) Saliendo del programa... |
1564 |
2010-04-06 22:31:40,265 INFO (Basico) |
1565 |
|
1566 |
********CRASH****** |
1567 |
|
1568 |
|
1569 |
2010-04-06 22:32:13,410 INFO (Basico) Iniciado servidor en puerto 2000 |
1570 |
2010-04-06 22:39:04,854 INFO (Basico) Interrumpido manualmente por el operador |
1571 |
2010-04-06 22:39:04,855 INFO (Basico) Saliendo del programa... |
1572 |
2010-04-06 22:39:04,855 INFO (Basico) |
1573 |
|
1574 |
********CRASH****** |
1575 |
|
1576 |
|
1577 |
2010-04-06 22:42:29,882 INFO (Basico) Iniciado servidor en puerto 2000 |
1578 |
2010-04-06 22:42:53,311 INFO (Dialogos) Creado diálogo inicial con un jugador |
1579 |
2010-04-06 22:42:53,312 INFO (Basico) Conectado nuevo cliente desde 127.0.0.1. |
1580 |
2010-04-06 22:43:05,236 WARNING (PJ) Se ha caido bruscamente la conexion con 127.0.0.1 |
1581 |
2010-04-06 22:50:03,864 INFO (Basico) Interrumpido manualmente por el operador |
1582 |
2010-04-06 22:50:03,864 INFO (Basico) Saliendo del programa... |
1583 |
2010-04-06 22:50:03,865 INFO (Basico) |
1584 |
|
1585 |
********CRASH****** |
1586 |
|
1587 |
|
1588 |
2010-04-06 22:51:25,810 INFO (Basico) Iniciado servidor en puerto 2000 |
1589 |
2010-04-06 22:52:55,044 INFO (Basico) Interrumpido manualmente por el operador |
1590 |
2010-04-06 22:52:55,044 INFO (Basico) Saliendo del programa... |
1591 |
2010-04-06 22:52:55,045 INFO (Basico) |
1592 |
|
1593 |
********CRASH****** |
1594 |
|
1595 |
|
1596 |
; Configuración de log de Minë. Este fichero es leÃdo por el mine al |
1597 |
; arrancar, y se recarga automáticamente si es modificado. |
1598 |
|
1599 |
[loggers] |
1600 |
keys = root,Basico,Modulos,Objetos,Dialogos,Personajes,PJs,PNJs,Mundo,Salas,Editor |
1601 |
; Bloques de mensajes. Se puede configurar para cada uno de ellos el |
1602 |
; nivel de trazas y el dispositivo de salida. |
1603 |
; - root: el que salta si otro está marcado como NOTSET. No se usa. |
1604 |
; - Basico: fecha, cronos, utils, etc. |
1605 |
; - Modulos: Modulo, Opcion, Guion, Requisito, Accion |
1606 |
; - Objetos: Objeto |
1607 |
; - Dialogos: DialogoXXX |
1608 |
; - Personajes: Personaje |
1609 |
; - PJ: PersonajeJugador, InterfazPJ |
1610 |
; - PNJ: PersonajeNoJugador, InterfazPNJ |
1611 |
; - Mundo: Mundo |
1612 |
; - Salas: Sala |
1613 |
; - Editor: Editor de Minë (Ambartan) |
1614 |
; Los niveles de trazas (de menor a mayor importancia) son: |
1615 |
; - DEBUG: información interna muy detallada, útil para buscar fallos |
1616 |
; - INFO: información de por dónde va ejecutandose el programa |
1617 |
; - WARNING: errores de usuario (un bug en un Guion, por ejemplo) |
1618 |
; - ERROR: errores del programa, que se pueden recuperar |
1619 |
; - CRITICAL: errores del programa, que provocan un casque |
1620 |
|
1621 |
[handlers] |
1622 |
keys = Pantalla,Fichero |
1623 |
; Dispositivos de salida de mensajes. También se puede configurar un |
1624 |
; nivel de trazas, o sino dejarlo en NOTSET para que saque todos. |
1625 |
; - Pantalla: saca los mensajes por la consola stdout. |
1626 |
; - Fichero: graba los mensajes en el fichero logfile.txt. Cuando |
1627 |
; crece hasta 100k, lo pasa a logfile.txt.1 y abre uno nuevo, y asà |
1628 |
; hasta logfile.txt.5. |
1629 |
|
1630 |
[formatters] |
1631 |
keys = Normal |
1632 |
; Formateador por defecto. Saca los mensajes con el estilo |
1633 |
; 2004-09-02 08:15:30,498 INFO (Salas) Entra personaje Hirunatan |
1634 |
|
1635 |
[logger_root] |
1636 |
level = INFO |
1637 |
handlers = Pantalla,Fichero |
1638 |
|
1639 |
[logger_Basico] |
1640 |
level = DEBUG |
1641 |
handlers = Pantalla,Fichero |
1642 |
propagate = 0 |
1643 |
qualname = Basico |
1644 |
|
1645 |
[logger_Modulos] |
1646 |
level = DEBUG |
1647 |
handlers = Pantalla,Fichero |
1648 |
propagate = 0 |
1649 |
qualname = Modulos |
1650 |
|
1651 |
[logger_Objetos] |
1652 |
level = DEBUG |
1653 |
handlers = Pantalla,Fichero |
1654 |
propagate = 0 |
1655 |
qualname = Objetos |
1656 |
|
1657 |
[logger_Dialogos] |
1658 |
level = DEBUG |
1659 |
handlers = Pantalla,Fichero |
1660 |
propagate = 0 |
1661 |
qualname = Dialogos |
1662 |
|
1663 |
[logger_Personajes] |
1664 |
level = DEBUG |
1665 |
handlers = Pantalla,Fichero |
1666 |
propagate = 0 |
1667 |
qualname = Personajes |
1668 |
|
1669 |
[logger_PJs] |
1670 |
level = DEBUG |
1671 |
handlers = Pantalla,Fichero |
1672 |
propagate = 0 |
1673 |
qualname = PJs |
1674 |
|
1675 |
[logger_PNJs] |
1676 |
level = DEBUG |
1677 |
handlers = Pantalla,Fichero |
1678 |
propagate = 0 |
1679 |
qualname = PNJs |
1680 |
|
1681 |
[logger_Mundo] |
1682 |
level = DEBUG |
1683 |
handlers = Pantalla,Fichero |
1684 |
propagate = 0 |
1685 |
qualname = Mundo |
1686 |
|
1687 |
[logger_Salas] |
1688 |
level = DEBUG |
1689 |
handlers = Pantalla,Fichero |
1690 |
propagate = 0 |
1691 |
qualname = Salas |
1692 |
|
1693 |
[logger_Editor] |
1694 |
level = DEBUG |
1695 |
handlers = Pantalla,Fichero |
1696 |
propagate = 0 |
1697 |
qualname = Editor |
1698 |
|
1699 |
[handler_Pantalla] |
1700 |
level = NOTSET |
1701 |
formatter = Normal |
1702 |
class = StreamHandler |
1703 |
args = (sys.stdout,) |
1704 |
|
1705 |
[handler_Fichero] |
1706 |
level = NOTSET |
1707 |
formatter = Normal |
1708 |
;%%Paice que no funciona el Rotating, habrá que ver por qué |
1709 |
;class = RotatingFileHandlerXXX |
1710 |
;args = ('logfile.txt', 'a', 100000, 5) |
1711 |
class = FileHandler |
1712 |
args = ('logfile.txt', 'a') |
1713 |
|
1714 |
[formatter_Normal] |
1715 |
format = %(asctime)s %(levelname)s (%(name)s) %(message)s |
1716 |
datefmt = |
1717 |
|