|
You last visited: Today at 16:58
Advertisement
[MOD]Easy-Chatblock + Kick
Discussion on [MOD]Easy-Chatblock + Kick within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
04/13/2011, 15:09
|
#46
|
elite*gold: 18
Join Date: Oct 2008
Posts: 576
Received Thanks: 1,063
|
Ist die Funktion für alle sichtbar oder nur für GM's ?
|
|
|
04/13/2011, 15:14
|
#47
|
elite*gold: 0
Join Date: Oct 2008
Posts: 324
Received Thanks: 123
|
Nur für Leute mit einem [ am anfang des Namens
|
|
|
04/13/2011, 15:20
|
#48
|
elite*gold: 0
Join Date: Jan 2010
Posts: 1,916
Received Thanks: 538
|
Das müsste doch für jeden client gehen, oder?
|
|
|
04/13/2011, 15:21
|
#49
|
elite*gold: 0
Join Date: Oct 2008
Posts: 324
Received Thanks: 123
|
Jeden Clienten in dem man es einbaut
|
|
|
04/13/2011, 15:48
|
#50
|
elite*gold: 0
Join Date: Apr 2011
Posts: 108
Received Thanks: 35
|
sehr nette sache music
#thx given
|
|
|
04/14/2011, 20:08
|
#51
|
elite*gold: 20
Join Date: Feb 2010
Posts: 321
Received Thanks: 706
|
Ich hänge nun an einem anderem Problem:
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4349
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4350
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4351
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4352
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4353
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4354
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4355
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4356
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4357
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4358
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4359
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4360
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4361
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4362
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4363
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4364
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4365
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4366
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4367
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4368
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4369
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4370
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4371
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4372
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4373
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4374
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4375
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4376
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4377
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4378
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4379
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4380
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4381
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4382
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4383
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4384
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4385
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4386
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4387
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4388
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4389
0414 20:07:08278 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4390
0414 20:07:08392 ::
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:25) ?
system.py(line:130) __pack_import
networkModule.SetSelectCharacterPhase - exceptions.SyntaxError:invalid syntax (line 461)
0414 20:07:08392 :: ================================================== ================================================== ========
0414 20:07:08392 :: Abort!!!!
Ich hatte gelesen das eine person einen "_" vergessen hatte.. ich finde nichts... Kann mir wer auf die Sprünge helfen?
Mfg. Staubi
|
|
|
04/14/2011, 20:42
|
#52
|
elite*gold: 26
Join Date: Jan 2009
Posts: 1,186
Received Thanks: 477
|
Habe problem bevor ich char-auswahl bin stürtzt der client ab
Code:
0414 19:52:09203 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 1375
0414 19:52:09205 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 1376
0414 19:52:09205 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 1377
0414 19:52:09205 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 1378
0414 19:52:09205 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 1379
0414 19:52:09205 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 1380
0414 19:52:09205 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 1381
0414 19:52:09205 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 1382
0414 19:52:09205 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 1383
0414 19:52:09205 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 1384
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4768
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4769
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4770
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4771
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4772
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4773
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4774
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4775
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4776
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4777
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4778
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4779
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4780
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4781
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4782
0414 19:52:09285 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4783
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4784
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4785
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4786
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4787
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4788
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4789
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4790
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4791
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4792
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4793
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4794
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4795
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4796
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4797
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4798
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4799
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4800
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4801
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4802
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4803
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4804
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4805
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4806
0414 19:52:09286 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4807
0414 19:52:09287 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4808
0414 19:52:09287 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 4809
0414 19:52:09301 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5340
0414 19:52:09301 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5341
0414 19:52:09301 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5342
0414 19:52:09301 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5343
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5344
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5345
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5346
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5347
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5348
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5349
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5350
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5351
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5352
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5353
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5354
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5355
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5356
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5357
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5358
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5359
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5360
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5361
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5362
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5363
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5364
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5365
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5366
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5367
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5368
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5369
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5370
0414 19:52:09302 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5371
0414 19:52:09303 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5372
0414 19:52:09303 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5373
0414 19:52:09304 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5374
0414 19:52:09304 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5375
0414 19:52:09304 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5376
0414 19:52:09304 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5377
0414 19:52:09304 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5378
0414 19:52:09304 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 5379
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6083
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6084
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6088
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6089
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6091
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6092
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6093
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6094
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6095
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6096
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6097
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6098
0414 19:52:09324 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6100
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6274
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6275
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6276
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6277
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6278
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6279
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6280
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6281
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6282
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6283
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6284
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6285
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6286
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6287
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6288
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6289
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6290
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6291
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6292
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6293
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6294
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6295
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6296
0414 19:52:09329 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6297
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6298
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6299
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6300
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6301
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6302
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6303
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6304
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6305
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6306
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6307
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6308
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6309
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6310
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6311
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6312
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6313
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6314
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6315
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6316
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6317
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6318
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6319
0414 19:52:09330 :: CItemManager::LoadItemList(locale/de/item_list.txt) - StrangeLine in 6320
0414 19:52:10474 ::
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:25) ?
system.py(line:130) __pack_import
networkModule.SetSelectCharacterPhase - exceptions.SyntaxError:invalid syntax (line 370)
0414 19:52:10474 :: ============================================================================================================
0414 19:52:10474 :: Abort!!!!
|
|
|
05/02/2011, 19:20
|
#53
|
elite*gold: 0
Join Date: Oct 2008
Posts: 324
Received Thanks: 123
|
N tipp an euch:
man kann , wenn man sich des script maln bissl anschaut auch ganz einfach nen stun/kill button einbauen ^^
|
|
|
05/02/2011, 21:39
|
#54
|
elite*gold: 0
Join Date: Sep 2009
Posts: 461
Received Thanks: 55
|
nice work!! sieht gut aus  D
|
|
|
05/02/2011, 22:40
|
#55
|
elite*gold: 50
Join Date: Nov 2009
Posts: 865
Received Thanks: 1,228
|
also ich habe eigendlich alles richtig gemacht kannste dir mal meine uitarget anschauen bei mir kommt der Fehler
import app
import ui
import player
import net
import wndMgr
import messenger
import guild
import chr
import nonplayer
import locale
import constInfo
import uiChatBlock
class TargetBoard(ui.ThinBoard):
BUTTON_NAME_LIST = (
locale.TARGET_BUTTON_WHISPER,
locale.TARGET_BUTTON_EXCHANGE,
locale.TARGET_BUTTON_FIGHT,
locale.TARGET_BUTTON_ACCEPT_FIGHT,
locale.TARGET_BUTTON_AVENGE,
locale.TARGET_BUTTON_FRIEND,
locale.TARGET_BUTTON_INVITE_PARTY,
locale.TARGET_BUTTON_LEAVE_PARTY,
locale.TARGET_BUTTON_EXCLUDE,
locale.TARGET_BUTTON_INVITE_GUILD,
locale.TARGET_BUTTON_DISMOUNT,
locale.TARGET_BUTTON_EXIT_OBSERVER,
locale.TARGET_BUTTON_VIEW_EQUIPMENT,
locale.TARGET_BUTTON_REQUEST_ENTER_PARTY,
locale.TARGET_BUTTON_BUILDING_DESTROY,
locale.TARGET_BUTTON_EMOTION_ALLOW,
"Kick",
"ChatBlock",
)
GRADE_NAME = {
nonplayer.PAWN : locale.TARGET_LEVEL_PAWN,
nonplayer.S_PAWN : locale.TARGET_LEVEL_S_PAWN,
nonplayer.KNIGHT : locale.TARGET_LEVEL_KNIGHT,
nonplayer.S_KNIGHT : locale.TARGET_LEVEL_S_KNIGHT,
nonplayer.BOSS : locale.TARGET_LEVEL_BOSS,
nonplayer.KING : locale.TARGET_LEVEL_KING,
}
EXCHANGE_LIMIT_RANGE = 3000
def __init__(self):
ui.ThinBoard.__init__(self)
name = ui.TextLine()
name.SetParent(self)
name.SetDefaultFontName()
name.SetOutline()
name.Show()
hpGauge = ui.Gauge()
hpGauge.SetParent(self)
hpGauge.SetPosition(175, 17)
hpGauge.MakeGauge(130, "red")
hpGauge.SetWindowHorizontalAlignRight()
hpGauge.Hide()
closeButton = ui.Button()
closeButton.SetParent(self)
closeButton.SetUpVisual("d:/ymir work/ui/public/close_button_01.sub")
closeButton.SetOverVisual("d:/ymir work/ui/public/close_button_02.sub")
closeButton.SetDownVisual("d:/ymir work/ui/public/close_button_03.sub")
closeButton.SetPosition(30, 13)
closeButton.SetWindowHorizontalAlignRight()
closeButton.SetEvent(ui.__mem_func__(self.OnPresse dCloseButton))
closeButton.Show()
self.buttonDict = {}
self.showingButtonList = []
for buttonName in self.BUTTON_NAME_LIST:
button = ui.Button()
button.SetParent(self)
button.SetUpVisual("d:/ymir work/ui/public/small_thin_button_01.sub")
button.SetOverVisual("d:/ymir work/ui/public/small_thin_button_02.sub")
button.SetDownVisual("d:/ymir work/ui/public/small_thin_button_03.sub")
button.SetWindowHorizontalAlignCenter()
button.SetText(buttonName)
button.Hide()
self.buttonDict[buttonName] = button
self.showingButtonList.append(button)
self.buttonDict[locale.TARGET_BUTTON_WHISPER].SetEvent(ui.__mem_func__(self.OnWhisper))
self.buttonDict["Kick"].SetEvent(ui.__mem_func__(self.OnKick))
self.buttonDict["ChatBlock"].SetEvent(ui.__mem_func__(self.OnChatBlock))
self.buttonDict[locale.TARGET_BUTTON_EXCHANGE].SetEvent(ui.__mem_func__(self.OnExchange))
self.buttonDict[locale.TARGET_BUTTON_FIGHT].SetEvent(ui.__mem_func__(self.OnPVP))
self.buttonDict[locale.TARGET_BUTTON_ACCEPT_FIGHT].SetEvent(ui.__mem_func__(self.OnPVP))
self.buttonDict[locale.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.OnPVP))
self.buttonDict[locale.TARGET_BUTTON_FRIEND].SetEvent(ui.__mem_func__(self.OnAppendToMessenger ))
self.buttonDict[locale.TARGET_BUTTON_FRIEND].SetEvent(ui.__mem_func__(self.OnAppendToMessenger ))
self.buttonDict[locale.TARGET_BUTTON_INVITE_PARTY].SetEvent(ui.__mem_func__(self.OnPartyInvite))
self.buttonDict[locale.TARGET_BUTTON_LEAVE_PARTY].SetEvent(ui.__mem_func__(self.OnPartyExit))
self.buttonDict[locale.TARGET_BUTTON_EXCLUDE].SetEvent(ui.__mem_func__(self.OnPartyRemove))
self.buttonDict[locale.TARGET_BUTTON_INVITE_GUILD].SAFE_SetEvent(self.__OnGuildAddMember)
self.buttonDict[locale.TARGET_BUTTON_DISMOUNT].SAFE_SetEvent(self.__OnDismount)
self.buttonDict[locale.TARGET_BUTTON_EXIT_OBSERVER].SAFE_SetEvent(self.__OnExitObserver)
self.buttonDict[locale.TARGET_BUTTON_VIEW_EQUIPMENT].SAFE_SetEvent(self.__OnViewEquipment)
self.buttonDict[locale.TARGET_BUTTON_REQUEST_ENTER_PARTY].SAFE_SetEvent(self.__OnRequestParty)
self.buttonDict[locale.TARGET_BUTTON_BUILDING_DESTROY].SAFE_SetEvent(self.__OnDestroyBuilding)
self.buttonDict[locale.TARGET_BUTTON_EMOTION_ALLOW].SAFE_SetEvent(self.__OnEmotionAllow)
self.name = name
self.hpGauge = hpGauge
self.closeButton = closeButton
self.nameString = 0
self.nameLength = 0
self.vid = 0
self.eventWhisper = None
self.isShowButton = FALSE
dlgChatBlock = uiChatBlock.ChatBlockDialog()
dlgChatBlock.LoadDialog()
dlgChatBlock.SetTitleName("ChatBlock")
dlgChatBlock.Hide()
self.dlgChatBlock = dlgChatBlock
self.__Initialize()
self.ResetTargetBoard()
def __del__(self):
ui.ThinBoard.__del__(self)
print "================================================= ==== DESTROYED TARGET BOARD"
def __Initialize(self):
self.nameString = ""
self.nameLength = 0
self.vid = 0
self.isShowButton = FALSE
def Destroy(self):
self.eventWhisper = None
self.closeButton = None
self.showingButtonList = None
self.buttonDict = None
self.name = None
self.hpGauge = None
self.__Initialize()
self.dlgChatBlock.Destroy()
self.dlgChatBlock = 0
def OnPressedCloseButton(self):
player.ClearTarget()
self.Close()
def Close(self):
self.__Initialize()
self.Hide()
def Open(self, vid, name):
if not constInfo.GET_VIEW_OTHER_EMPIRE_PLAYER_TARGET_BOAR D():
if not player.IsSameEmpire(vid):
self.Hide()
return
if vid != self.GetTargetVID():
self.ResetTargetBoard()
self.SetTargetVID(vid)
self.SetTargetName(name)
if player.IsMainCharacterIndex(vid):
self.__ShowMainCharacterMenu()
elif chr.INSTANCE_TYPE_BUILDING == chr.GetInstanceType(self.vid):
self.Hide()
else:
self.RefreshButton()
self.Show()
def Refresh(self):
if self.IsShow():
if self.IsShowButton():
self.RefreshButton()
def RefreshByVID(self, vid):
if vid == self.GetTargetVID():
self.Refresh()
def RefreshByName(self, name):
if name == self.GetTargetName():
self.Refresh()
def __ShowMainCharacterMenu(self):
canShow=0
self.HideAllButton()
if player.IsMountingHorse():
self.__ShowButton(locale.TARGET_BUTTON_DISMOUNT)
canShow=1
if player.IsObserverMode():
self.__ShowButton(locale.TARGET_BUTTON_EXIT_OBSERV ER)
canShow=1
if canShow:
self.__ArrangeButtonPosition()
self.Show()
else:
self.Hide()
def SetWhisperEvent(self, event):
self.eventWhisper = event
def UpdatePosition(self):
self.SetPosition(wndMgr.GetScreenWidth()/2 - self.GetWidth()/2, 10)
def ResetTargetBoard(self):
for btn in self.buttonDict.values():
btn.Hide()
self.__Initialize()
self.name.SetPosition(0, 13)
self.name.SetHorizontalAlignCenter()
self.name.SetWindowHorizontalAlignCenter()
self.hpGauge.Hide()
self.SetSize(250, 40)
def SetTargetVID(self, vid):
self.vid = vid
def SetEnemyVID(self, vid):
self.SetTargetVID(vid)
name = chr.GetNameByVID(vid)
level = nonplayer.GetLevelByVID(vid)
grade = nonplayer.GetGradeByVID(vid)
nameFront = ""
if -1 != level:
nameFront += "Lv." + str(level) + " "
if self.GRADE_NAME.has_key(grade):
nameFront += "(" + self.GRADE_NAME[grade] + ") "
self.SetTargetName(nameFront + name)
def GetTargetVID(self):
return self.vid
def GetTargetName(self):
return self.nameString
def SetTargetName(self, name):
self.nameString = name
self.nameLength = len(name)
self.name.SetText(name)
def SetHP(self, hpPercentage):
if not self.hpGauge.IsShow():
self.name.SetPosition(23, 13)
self.name.SetWindowHorizontalAlignLeft()
self.name.SetHorizontalAlignLeft()
self.hpGauge.Show()
self.SetSize(200 + 7*self.nameLength, self.GetHeight())
self.UpdatePosition()
self.hpGauge.SetPercentage(hpPercentage, 100)
def ShowDefaultButton(self):
self.isShowButton = TRUE
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_WHISPER])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_EXCHANGE])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_FIGHT])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_EMOTION_ALLOW])
for button in self.showingButtonList:
button.Show()
def HideAllButton(self):
self.isShowButton = FALSE
for button in self.showingButtonList:
button.Hide()
self.showingButtonList = []
def __ShowButton(self, name):
if not self.buttonDict.has_key(name):
return
self.buttonDict[name].Show()
self.showingButtonList.append(self.buttonDict[name])
def __HideButton(self, name):
if not self.buttonDict.has_key(name):
return
button = self.buttonDict[name]
button.Hide()
for btnInList in self.showingButtonList:
if btnInList == button:
self.showingButtonList.remove(button)
break
def OnWhisper(self):
if None != self.eventWhisper:
self.eventWhisper(self.nameString)
def OnExchange(self):
net.SendExchangeStartPacket(self.vid)
def OnPVP(self):
net.SendChatPacket("/pvp %d" % (self.vid))
def OnAppendToMessenger(self):
net.SendMessengerAddByVIDPacket(self.vid)
def OnPartyInvite(self):
net.SendPartyInvitePacket(self.vid)
def OnPartyExit(self):
net.SendPartyExitPacket()
def OnPartyRemove(self):
net.SendPartyRemovePacket(self.vid)
def __OnGuildAddMember(self):
net.SendGuildAddMemberPacket(self.vid)
def __OnDismount(self):
net.SendChatPacket("/unmount")
def __OnExitObserver(self):
net.SendChatPacket("/observer_exit")
def __OnViewEquipment(self):
net.SendChatPacket("/view_equip " + str(self.vid))
def __OnRequestParty(self):
net.SendChatPacket("/party_request " + str(self.vid))
def __OnDestroyBuilding(self):
net.SendChatPacket("/build d %d" % (self.vid))
def __OnEmotionAllow(self):
net.SendChatPacket("/emotion_allow %d" % (self.vid))
def OnPressEscapeKey(self):
self.OnPressedCloseButton()
return TRUE
def IsShowButton(self):
return self.isShowButton
def RefreshButton(self):
def OnKick(self):
net.SendChatPacket("/dc " + str(chr.GetNameByVID(self.vid)))
def OnChatBlock(self):
#if os.path.exists('gm.txt') and os.path.isfile('gm.txt'):
if str(player.GetName())[0] == "[":
self.dlgChatBlock.SetTitleName("ChatBlock: " + str(chr.GetNameByVID(self.vid)))
self.dlgChatBlock.Open(str(chr.GetNameByVID(self.v id)))
self.HideAllButton()
if chr.INSTANCE_TYPE_BUILDING == chr.GetInstanceType(self.vid):
#self.__ShowButton(locale.TARGET_BUTTON_BUILDING_D ESTROY)
#self.__ArrangeButtonPosition()
return
if player.IsPVPInstance(self.vid) or player.IsObserverMode():
# PVP_INFO_SIZE_BUG_FIX
self.SetSize(200 + 7*self.nameLength, 40)
self.UpdatePosition()
# END_OF_PVP_INFO_SIZE_BUG_FIX
return
self.ShowDefaultButton()
if str(player.GetName())[0] == "[":
self.__ShowButton("Kick")
self.__ShowButton("ChatBlock")
if guild.MainPlayerHasAuthority(guild.AUTH_ADD_MEMBER ):
if not guild.IsMemberByName(self.nameString):
if 0 == chr.GetGuildID(self.vid):
self.__ShowButton(locale.TARGET_BUTTON_INVITE_GUIL D)
if not messenger.IsFriendByName(self.nameString):
self.__ShowButton(locale.TARGET_BUTTON_FRIEND)
if player.IsPartyMember(self.vid):
self.__HideButton(locale.TARGET_BUTTON_FIGHT)
if player.IsPartyLeader(self.vid):
self.__ShowButton(locale.TARGET_BUTTON_LEAVE_PARTY )
elif player.IsPartyLeader(player.GetMainCharacterIndex( )):
self.__ShowButton(locale.TARGET_BUTTON_EXCLUDE)
else:
if player.IsPartyMember(player.GetMainCharacterIndex( )):
if player.IsPartyLeader(player.GetMainCharacterIndex( )):
self.__ShowButton(locale.TARGET_BUTTON_INVITE_PART Y)
else:
if chr.IsPartyMember(self.vid):
self.__ShowButton(locale.TARGET_BUTTON_REQUEST_ENT ER_PARTY)
else:
self.__ShowButton(locale.TARGET_BUTTON_INVITE_PART Y)
if player.IsRevengeInstance(self.vid):
self.__HideButton(locale.TARGET_BUTTON_FIGHT)
self.__ShowButton(locale.TARGET_BUTTON_AVENGE)
elif player.IsChallengeInstance(self.vid):
self.__HideButton(locale.TARGET_BUTTON_FIGHT)
self.__ShowButton(locale.TARGET_BUTTON_ACCEPT_FIGH T)
elif player.IsCantFightInstance(self.vid):
self.__HideButton(locale.TARGET_BUTTON_FIGHT)
if not player.IsSameEmpire(self.vid):
self.__HideButton(locale.TARGET_BUTTON_INVITE_PART Y)
self.__HideButton(locale.TARGET_BUTTON_FRIEND)
self.__HideButton(locale.TARGET_BUTTON_FIGHT)
distance = player.GetCharacterDistance(self.vid)
if distance > self.EXCHANGE_LIMIT_RANGE:
self.__HideButton(locale.TARGET_BUTTON_EXCHANGE)
self.__ArrangeButtonPosition()
self.__ArrangeButtonPosition()
def __ArrangeButtonPosition(self):
showingButtonCount = len(self.showingButtonList)
pos = -(showingButtonCount / 2) * 68
if 0 == showingButtonCount % 2:
pos += 34
for button in self.showingButtonList:
button.SetPosition(pos, 33)
pos += 68
self.SetSize(max(150, showingButtonCount * 75), 65)
self.UpdatePosition()
def OnUpdate(self):
if self.isShowButton:
exchangeButton = self.buttonDict[locale.TARGET_BUTTON_EXCHANGE]
distance = player.GetCharacterDistance(self.vid)
if distance < 0:
return
if exchangeButton.IsShow():
if distance > self.EXCHANGE_LIMIT_RANGE:
self.RefreshButton()
else:
if distance < self.EXCHANGE_LIMIT_RANGE:
self.RefreshButton()
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:25) ?
system.py(line:130) __pack_import
networkModule.SetSelectCharacterPhase - exceptions.IndentationError:expected an indented block (line 356)
|
|
|
05/03/2011, 14:17
|
#56
|
elite*gold: 190
Join Date: Nov 2008
Posts: 1,670
Received Thanks: 3,365
|
Quote:
Originally Posted by ebert.tonna
also ich habe eigendlich alles richtig gemacht kannste dir mal meine uitarget anschauen bei mir kommt der Fehler
import app
import ui
import player
import net
import wndMgr
import messenger
import guild
import chr
import nonplayer
import locale
import constInfo
import uiChatBlock
class TargetBoard(ui.ThinBoard):
BUTTON_NAME_LIST = (
locale.TARGET_BUTTON_WHISPER,
locale.TARGET_BUTTON_EXCHANGE,
locale.TARGET_BUTTON_FIGHT,
locale.TARGET_BUTTON_ACCEPT_FIGHT,
locale.TARGET_BUTTON_AVENGE,
locale.TARGET_BUTTON_FRIEND,
locale.TARGET_BUTTON_INVITE_PARTY,
locale.TARGET_BUTTON_LEAVE_PARTY,
locale.TARGET_BUTTON_EXCLUDE,
locale.TARGET_BUTTON_INVITE_GUILD,
locale.TARGET_BUTTON_DISMOUNT,
locale.TARGET_BUTTON_EXIT_OBSERVER,
locale.TARGET_BUTTON_VIEW_EQUIPMENT,
locale.TARGET_BUTTON_REQUEST_ENTER_PARTY,
locale.TARGET_BUTTON_BUILDING_DESTROY,
locale.TARGET_BUTTON_EMOTION_ALLOW,
"Kick",
"ChatBlock",
)
GRADE_NAME = {
nonplayer.PAWN : locale.TARGET_LEVEL_PAWN,
nonplayer.S_PAWN : locale.TARGET_LEVEL_S_PAWN,
nonplayer.KNIGHT : locale.TARGET_LEVEL_KNIGHT,
nonplayer.S_KNIGHT : locale.TARGET_LEVEL_S_KNIGHT,
nonplayer.BOSS : locale.TARGET_LEVEL_BOSS,
nonplayer.KING : locale.TARGET_LEVEL_KING,
}
EXCHANGE_LIMIT_RANGE = 3000
def __init__(self):
ui.ThinBoard.__init__(self)
name = ui.TextLine()
name.SetParent(self)
name.SetDefaultFontName()
name.SetOutline()
name.Show()
hpGauge = ui.Gauge()
hpGauge.SetParent(self)
hpGauge.SetPosition(175, 17)
hpGauge.MakeGauge(130, "red")
hpGauge.SetWindowHorizontalAlignRight()
hpGauge.Hide()
closeButton = ui.Button()
closeButton.SetParent(self)
closeButton.SetUpVisual("d:/ymir work/ui/public/close_button_01.sub")
closeButton.SetOverVisual("d:/ymir work/ui/public/close_button_02.sub")
closeButton.SetDownVisual("d:/ymir work/ui/public/close_button_03.sub")
closeButton.SetPosition(30, 13)
closeButton.SetWindowHorizontalAlignRight()
closeButton.SetEvent(ui.__mem_func__(self.OnPresse dCloseButton))
closeButton.Show()
self.buttonDict = {}
self.showingButtonList = []
for buttonName in self.BUTTON_NAME_LIST:
button = ui.Button()
button.SetParent(self)
button.SetUpVisual("d:/ymir work/ui/public/small_thin_button_01.sub")
button.SetOverVisual("d:/ymir work/ui/public/small_thin_button_02.sub")
button.SetDownVisual("d:/ymir work/ui/public/small_thin_button_03.sub")
button.SetWindowHorizontalAlignCenter()
button.SetText(buttonName)
button.Hide()
self.buttonDict[buttonName] = button
self.showingButtonList.append(button)
self.buttonDict[locale.TARGET_BUTTON_WHISPER].SetEvent(ui.__mem_func__(self.OnWhisper))
self.buttonDict["Kick"].SetEvent(ui.__mem_func__(self.OnKick))
self.buttonDict["ChatBlock"].SetEvent(ui.__mem_func__(self.OnChatBlock))
self.buttonDict[locale.TARGET_BUTTON_EXCHANGE].SetEvent(ui.__mem_func__(self.OnExchange))
self.buttonDict[locale.TARGET_BUTTON_FIGHT].SetEvent(ui.__mem_func__(self.OnPVP))
self.buttonDict[locale.TARGET_BUTTON_ACCEPT_FIGHT].SetEvent(ui.__mem_func__(self.OnPVP))
self.buttonDict[locale.TARGET_BUTTON_AVENGE].SetEvent(ui.__mem_func__(self.OnPVP))
self.buttonDict[locale.TARGET_BUTTON_FRIEND].SetEvent(ui.__mem_func__(self.OnAppendToMessenger ))
self.buttonDict[locale.TARGET_BUTTON_FRIEND].SetEvent(ui.__mem_func__(self.OnAppendToMessenger ))
self.buttonDict[locale.TARGET_BUTTON_INVITE_PARTY].SetEvent(ui.__mem_func__(self.OnPartyInvite))
self.buttonDict[locale.TARGET_BUTTON_LEAVE_PARTY].SetEvent(ui.__mem_func__(self.OnPartyExit))
self.buttonDict[locale.TARGET_BUTTON_EXCLUDE].SetEvent(ui.__mem_func__(self.OnPartyRemove))
self.buttonDict[locale.TARGET_BUTTON_INVITE_GUILD].SAFE_SetEvent(self.__OnGuildAddMember)
self.buttonDict[locale.TARGET_BUTTON_DISMOUNT].SAFE_SetEvent(self.__OnDismount)
self.buttonDict[locale.TARGET_BUTTON_EXIT_OBSERVER].SAFE_SetEvent(self.__OnExitObserver)
self.buttonDict[locale.TARGET_BUTTON_VIEW_EQUIPMENT].SAFE_SetEvent(self.__OnViewEquipment)
self.buttonDict[locale.TARGET_BUTTON_REQUEST_ENTER_PARTY].SAFE_SetEvent(self.__OnRequestParty)
self.buttonDict[locale.TARGET_BUTTON_BUILDING_DESTROY].SAFE_SetEvent(self.__OnDestroyBuilding)
self.buttonDict[locale.TARGET_BUTTON_EMOTION_ALLOW].SAFE_SetEvent(self.__OnEmotionAllow)
self.name = name
self.hpGauge = hpGauge
self.closeButton = closeButton
self.nameString = 0
self.nameLength = 0
self.vid = 0
self.eventWhisper = None
self.isShowButton = FALSE
dlgChatBlock = uiChatBlock.ChatBlockDialog()
dlgChatBlock.LoadDialog()
dlgChatBlock.SetTitleName("ChatBlock")
dlgChatBlock.Hide()
self.dlgChatBlock = dlgChatBlock
self.__Initialize()
self.ResetTargetBoard()
def __del__(self):
ui.ThinBoard.__del__(self)
print "================================================= ==== DESTROYED TARGET BOARD"
def __Initialize(self):
self.nameString = ""
self.nameLength = 0
self.vid = 0
self.isShowButton = FALSE
def Destroy(self):
self.eventWhisper = None
self.closeButton = None
self.showingButtonList = None
self.buttonDict = None
self.name = None
self.hpGauge = None
self.__Initialize()
self.dlgChatBlock.Destroy()
self.dlgChatBlock = 0
def OnPressedCloseButton(self):
player.ClearTarget()
self.Close()
def Close(self):
self.__Initialize()
self.Hide()
def Open(self, vid, name):
if not constInfo.GET_VIEW_OTHER_EMPIRE_PLAYER_TARGET_BOAR D():
if not player.IsSameEmpire(vid):
self.Hide()
return
if vid != self.GetTargetVID():
self.ResetTargetBoard()
self.SetTargetVID(vid)
self.SetTargetName(name)
if player.IsMainCharacterIndex(vid):
self.__ShowMainCharacterMenu()
elif chr.INSTANCE_TYPE_BUILDING == chr.GetInstanceType(self.vid):
self.Hide()
else:
self.RefreshButton()
self.Show()
def Refresh(self):
if self.IsShow():
if self.IsShowButton():
self.RefreshButton()
def RefreshByVID(self, vid):
if vid == self.GetTargetVID():
self.Refresh()
def RefreshByName(self, name):
if name == self.GetTargetName():
self.Refresh()
def __ShowMainCharacterMenu(self):
canShow=0
self.HideAllButton()
if player.IsMountingHorse():
self.__ShowButton(locale.TARGET_BUTTON_DISMOUNT)
canShow=1
if player.IsObserverMode():
self.__ShowButton(locale.TARGET_BUTTON_EXIT_OBSERV ER)
canShow=1
if canShow:
self.__ArrangeButtonPosition()
self.Show()
else:
self.Hide()
def SetWhisperEvent(self, event):
self.eventWhisper = event
def UpdatePosition(self):
self.SetPosition(wndMgr.GetScreenWidth()/2 - self.GetWidth()/2, 10)
def ResetTargetBoard(self):
for btn in self.buttonDict.values():
btn.Hide()
self.__Initialize()
self.name.SetPosition(0, 13)
self.name.SetHorizontalAlignCenter()
self.name.SetWindowHorizontalAlignCenter()
self.hpGauge.Hide()
self.SetSize(250, 40)
def SetTargetVID(self, vid):
self.vid = vid
def SetEnemyVID(self, vid):
self.SetTargetVID(vid)
name = chr.GetNameByVID(vid)
level = nonplayer.GetLevelByVID(vid)
grade = nonplayer.GetGradeByVID(vid)
nameFront = ""
if -1 != level:
nameFront += "Lv." + str(level) + " "
if self.GRADE_NAME.has_key(grade):
nameFront += "(" + self.GRADE_NAME[grade] + ") "
self.SetTargetName(nameFront + name)
def GetTargetVID(self):
return self.vid
def GetTargetName(self):
return self.nameString
def SetTargetName(self, name):
self.nameString = name
self.nameLength = len(name)
self.name.SetText(name)
def SetHP(self, hpPercentage):
if not self.hpGauge.IsShow():
self.name.SetPosition(23, 13)
self.name.SetWindowHorizontalAlignLeft()
self.name.SetHorizontalAlignLeft()
self.hpGauge.Show()
self.SetSize(200 + 7*self.nameLength, self.GetHeight())
self.UpdatePosition()
self.hpGauge.SetPercentage(hpPercentage, 100)
def ShowDefaultButton(self):
self.isShowButton = TRUE
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_WHISPER])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_EXCHANGE])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_FIGHT])
self.showingButtonList.append(self.buttonDict[locale.TARGET_BUTTON_EMOTION_ALLOW])
for button in self.showingButtonList:
button.Show()
def HideAllButton(self):
self.isShowButton = FALSE
for button in self.showingButtonList:
button.Hide()
self.showingButtonList = []
def __ShowButton(self, name):
if not self.buttonDict.has_key(name):
return
self.buttonDict[name].Show()
self.showingButtonList.append(self.buttonDict[name])
def __HideButton(self, name):
if not self.buttonDict.has_key(name):
return
button = self.buttonDict[name]
button.Hide()
for btnInList in self.showingButtonList:
if btnInList == button:
self.showingButtonList.remove(button)
break
def OnWhisper(self):
if None != self.eventWhisper:
self.eventWhisper(self.nameString)
def OnExchange(self):
net.SendExchangeStartPacket(self.vid)
def OnPVP(self):
net.SendChatPacket("/pvp %d" % (self.vid))
def OnAppendToMessenger(self):
net.SendMessengerAddByVIDPacket(self.vid)
def OnPartyInvite(self):
net.SendPartyInvitePacket(self.vid)
def OnPartyExit(self):
net.SendPartyExitPacket()
def OnPartyRemove(self):
net.SendPartyRemovePacket(self.vid)
def __OnGuildAddMember(self):
net.SendGuildAddMemberPacket(self.vid)
def __OnDismount(self):
net.SendChatPacket("/unmount")
def __OnExitObserver(self):
net.SendChatPacket("/observer_exit")
def __OnViewEquipment(self):
net.SendChatPacket("/view_equip " + str(self.vid))
def __OnRequestParty(self):
net.SendChatPacket("/party_request " + str(self.vid))
def __OnDestroyBuilding(self):
net.SendChatPacket("/build d %d" % (self.vid))
def __OnEmotionAllow(self):
net.SendChatPacket("/emotion_allow %d" % (self.vid))
def OnPressEscapeKey(self):
self.OnPressedCloseButton()
return TRUE
def IsShowButton(self):
return self.isShowButton
def RefreshButton(self):
def OnKick(self):
net.SendChatPacket("/dc " + str(chr.GetNameByVID(self.vid)))
def OnChatBlock(self):
#if os.path.exists('gm.txt') and os.path.isfile('gm.txt'):
if str(player.GetName())[0] == "[":
self.dlgChatBlock.SetTitleName("ChatBlock: " + str(chr.GetNameByVID(self.vid)))
self.dlgChatBlock.Open(str(chr.GetNameByVID(self.v id)))
self.HideAllButton()
if chr.INSTANCE_TYPE_BUILDING == chr.GetInstanceType(self.vid):
#self.__ShowButton(locale.TARGET_BUTTON_BUILDING_D ESTROY)
#self.__ArrangeButtonPosition()
return
if player.IsPVPInstance(self.vid) or player.IsObserverMode():
# PVP_INFO_SIZE_BUG_FIX
self.SetSize(200 + 7*self.nameLength, 40)
self.UpdatePosition()
# END_OF_PVP_INFO_SIZE_BUG_FIX
return
self.ShowDefaultButton()
if str(player.GetName())[0] == "[":
self.__ShowButton("Kick")
self.__ShowButton("ChatBlock")
if guild.MainPlayerHasAuthority(guild.AUTH_ADD_MEMBER ):
if not guild.IsMemberByName(self.nameString):
if 0 == chr.GetGuildID(self.vid):
self.__ShowButton(locale.TARGET_BUTTON_INVITE_GUIL D)
if not messenger.IsFriendByName(self.nameString):
self.__ShowButton(locale.TARGET_BUTTON_FRIEND)
if player.IsPartyMember(self.vid):
self.__HideButton(locale.TARGET_BUTTON_FIGHT)
if player.IsPartyLeader(self.vid):
self.__ShowButton(locale.TARGET_BUTTON_LEAVE_PARTY )
elif player.IsPartyLeader(player.GetMainCharacterIndex( )):
self.__ShowButton(locale.TARGET_BUTTON_EXCLUDE)
else:
if player.IsPartyMember(player.GetMainCharacterIndex( )):
if player.IsPartyLeader(player.GetMainCharacterIndex( )):
self.__ShowButton(locale.TARGET_BUTTON_INVITE_PART Y)
else:
if chr.IsPartyMember(self.vid):
self.__ShowButton(locale.TARGET_BUTTON_REQUEST_ENT ER_PARTY)
else:
self.__ShowButton(locale.TARGET_BUTTON_INVITE_PART Y)
if player.IsRevengeInstance(self.vid):
self.__HideButton(locale.TARGET_BUTTON_FIGHT)
self.__ShowButton(locale.TARGET_BUTTON_AVENGE)
elif player.IsChallengeInstance(self.vid):
self.__HideButton(locale.TARGET_BUTTON_FIGHT)
self.__ShowButton(locale.TARGET_BUTTON_ACCEPT_FIGH T)
elif player.IsCantFightInstance(self.vid):
self.__HideButton(locale.TARGET_BUTTON_FIGHT)
if not player.IsSameEmpire(self.vid):
self.__HideButton(locale.TARGET_BUTTON_INVITE_PART Y)
self.__HideButton(locale.TARGET_BUTTON_FRIEND)
self.__HideButton(locale.TARGET_BUTTON_FIGHT)
distance = player.GetCharacterDistance(self.vid)
if distance > self.EXCHANGE_LIMIT_RANGE:
self.__HideButton(locale.TARGET_BUTTON_EXCHANGE)
self.__ArrangeButtonPosition()
self.__ArrangeButtonPosition()
def __ArrangeButtonPosition(self):
showingButtonCount = len(self.showingButtonList)
pos = -(showingButtonCount / 2) * 68
if 0 == showingButtonCount % 2:
pos += 34
for button in self.showingButtonList:
button.SetPosition(pos, 33)
pos += 68
self.SetSize(max(150, showingButtonCount * 75), 65)
self.UpdatePosition()
def OnUpdate(self):
if self.isShowButton:
exchangeButton = self.buttonDict[locale.TARGET_BUTTON_EXCHANGE]
distance = player.GetCharacterDistance(self.vid)
if distance < 0:
return
if exchangeButton.IsShow():
if distance > self.EXCHANGE_LIMIT_RANGE:
self.RefreshButton()
else:
if distance < self.EXCHANGE_LIMIT_RANGE:
self.RefreshButton()
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:25) ?
system.py(line:130) __pack_import
networkModule.SetSelectCharacterPhase - exceptions.IndentationError:expected an indented block (line 356)
|
hast du die leerzeichen auch mit tabs ersetzt?
da steht, dass der einen eingerückten block erwartet. wenn man aus epvp einfach was kopiert, sind alle tabs mehrere leerzeichen, und das musst du sozusagen wieder rückgängig machen, indem du die leerzeichen durch tabs ersetzt. dann ist es richtig eingerückt.
das gilt übrigens auch für die anderen hier, denen ich nicht geantwortet habe.
|
|
|
05/06/2011, 16:55
|
#57
|
elite*gold: 0
Join Date: Jan 2011
Posts: 1,647
Received Thanks: 314
|
werd ich in meinen client einbauen ( mode clients wie neonblue werde bald meine clients pub machen)
|
|
|
05/06/2011, 18:16
|
#58
|
elite*gold: 0
Join Date: May 2011
Posts: 57
Received Thanks: 6
|
gefällt mir siht gut aus !
thx given!
|
|
|
08/15/2011, 22:36
|
#59
|
elite*gold: 0
Join Date: Nov 2010
Posts: 544
Received Thanks: 190
|
Problem.
Nach dem Ladescreen sehe ich die Taskleiste unten aber der Balken lädt weiter und nichts passiert.
Hier einmal die syserr:
0815 22:21:18393 :: Traceback (most recent call last):
0815 22:21:18394 :: File "networkModule.py", line 233, in SetGamePhase
0815 22:21:18394 :: File "game.py", line 106, in __init__
0815 22:21:18394 :: File "uiTarget.py", line 109, in __init__
0815 22:21:18394 :: AttributeError
0815 22:21:18394 :: :
0815 22:21:18394 :: 'module' object has no attribute 'ChatBlockDialog'
0815 22:21:18394 ::
Bitte um hilfe!
|
|
|
08/15/2011, 23:44
|
#60
|
elite*gold: 0
Join Date: Jan 2011
Posts: 2,903
Received Thanks: 1,262
|
wenn ich das jezt einbaue sehen das die normalen player auch oder nur die gms?
|
|
|
 |
|
Similar Threads
|
help me leute chatblock
03/27/2011 - Metin2 Private Server - 3 Replies
Hallo leute ich will jemand chatblock geben und es geht ned obwoll ich alles richtig mache und er kann weiter schreiben kann mir vill jemand helfen?
|
Chatblock direkt..
01/18/2011 - Metin2 Private Server - 5 Replies
Hey,
Bei Metin2.DE bekommt man ja direkt einen Chatblock wenn man z.B. die Namen der Yangseller in den Chat schreibt. Nun ist meine Frage wie die das eingestellt haben bzw. ob das eine neue Funktion der '10er Files ist? Hat jemand eine Idee :D?
|
Chatblock umgehen?
09/29/2010 - Metin2 - 4 Replies
Hey Com..
wollte schon immer mal wissen , ob man nen chatblock umgehen kann..
ich frage mich , wo das gespeichert wird.. kann man am client rumspielen ?
das man trotz chatblock einfach weiter schreiben kann?
|
ChatBlock wegmachen ?
07/13/2010 - Metin2 Private Server - 2 Replies
Kann man einen Chatblock machen wolte nämlich nur 10 Stunden machen habe jetzt 102 Tage pls help
|
Chatblock entnehmen
01/16/2010 - Metin2 Private Server - 3 Replies
Welchen befehl brauche ich um den chatblock zu entnehmen von einem spieler?
Bitte um schnelle antwort thx
|
All times are GMT +1. The time now is 16:58.
|
|