|
how to block "sm plugins" console commands in css v34?
|
|
|
AdabraIM
|
Дата: Четверг, 30.11.2017, 22:56:12 | Сообщение # 16 |
 |
Сообщений: 32
Репутация: 0 [ +/- ]
|
|
|
| |
| |
|
aphrodit
|
Дата: Пятница, 01.12.2017, 09:52:00 | Сообщение # 17 |
 |
Сообщений: 12
Репутация: 0 [ +/- ]
|
|
hi adabralm
your welcome no problem
please just after finish your work please upload to this post our send to my e-mail my e-mail : tp.aphrodit@gmail.com
so tnX :) <3
|
| |
| |
|
AdabraIM
|
Дата: Вторник, 05.12.2017, 15:24:50 | Сообщение # 18 |
 |
Сообщений: 32
Репутация: 0 [ +/- ]
|
|
Nail, Would it be possible to answer my question??? I have really got stuck there!!! tnx
|
| |
| |
|
AdabraIM
|
Дата: Среда, 13.12.2017, 19:24:06 | Сообщение # 19 |
 |
Сообщений: 32
Репутация: 0 [ +/- ]
|
|
Actually I discovered that I can synchronize with the Visual Studio... Is it necessary to have? And If yes Can you tell me which things do I have to tick for installing on it? Cause there is no information about this on the site! It seems like my only big problem is right here! Thanks for your attention 
|
| |
| |
|
AdabraIM
|
Дата: Суббота, 23.12.2017, 18:40:41 | Сообщение # 20 |
 |
Сообщений: 32
Репутация: 0 [ +/- ]
|
|
I really apologize but I could not do it ... It is so complicated for a person like me and I am not familiar with this environment However I have found another way to do this but it also has some problems I found this plugin It needs PtaH extension for work But I cant get it work on cs:s v34... Can you please take a look at this and tell me if I can do it this way?? ((I will try to recompile the Sourcemod again but it will surely take long ... I think there can be a faster way)) Thanks alot!
|
Гости не могут скачивать файлы
|
|
| |
| |
|
Nail
|
Дата: Воскресенье, 24.12.2017, 18:10:55 | Сообщение # 21 |
 |
Сообщений: 38
Репутация: 8 [ +/- ]
|
|
The plugin uses ConsolePrint and ExecuteStringCommand prehooks... and sourcemod doesn't provide them out of the box. Can you share the error logs? Have You tried to rebuild the extension aganst your version of SDK? You don't have to use this extension if it doesn't work. You can rewrite the flashbangtools extension (It surely works with v34), or add the Detours directly to the plugin with a little help of DHooks.
|
| |
| |
|
AdabraIM
|
Дата: Понедельник, 25.12.2017, 15:22:20 | Сообщение # 22 |
 |
Сообщений: 32
Репутация: 0 [ +/- ]
|
|
I only face one error log : required extension PTaH file PTah.ext not running...PTaH is for cs:go also using DHooks not work because It is not for v34 And unfortunately I dont know how to build extensions...better to say I am a new Programmer and As you no one has learned it in a day Is there any other option to make this work for cs:s v34??...(You seem to be my last chance of help!) Thanks alot! 
|
| |
| |
|
Nail
|
Дата: Понедельник, 25.12.2017, 19:15:27 | Сообщение # 23 |
 |
Сообщений: 38
Репутация: 8 [ +/- ]
|
|
I thought I used DHooks with Napalm Lag Fix on my v34 server some 5-6 years ago... ok, may be it wasn't true. So building/rebuilding/rewriting..., it's all not an option for You? Building is the simpliest thing I know, there is no simpler way to get the result (without using dirty hacks) All I can suggest - ask for help in a special section of the forum. There was a guy who worked for money. At least you can ask on alliedmodders, a crowd of schoolchildren work for 5$/hour (cheap but not easy to deal with)
Сообщение отредактировал Nail - Понедельник, 25.12.2017, 20:21:35 |
| |
| |
|
AdabraIM
|
Дата: Вторник, 26.12.2017, 10:14:55 | Сообщение # 24 |
 |
Сообщений: 32
Репутация: 0 [ +/- ]
|
|
If you can teach me how to build the extension instead of PTaH for work on css I Learn it and do it... If you can just tell in a simple way that I can Understand Thanks alot.
|
| |
| |
|
Nail
|
Дата: Среда, 27.12.2017, 18:49:16 | Сообщение # 25 |
 |
Сообщений: 38
Репутация: 8 [ +/- ]
|
|
1) Set up the SDK 2) Download FBT 3) Correct the paths:
- for linux: Edit the project file (*\Makefile), set correct paths: SMSDK = ../../sourcemod-central HL2SDK_ORIG = ../../sdks/hl2sdk HL2SDK_OB = ../../sdks/hl2sdk-ob HL2SDK_OB_VALVE = ../../hl2sdk-ob-valve HL2SDK_L4D = ../../sdks/hl2sdk-l4d HL2SDK_L4D2 = ../../sdks/hl2sdk-l4d2 MMSOURCE17 = ../../mmsource
You can use relative paths (like in the examples above) and CD location will be used as a root directory. Or You can use absolute paths, like С:/SDK/hl2sdk-ob-valve (for win)
- for win: Set correct env variables (see the attachment): SOURCEMOD; HL2SDKOBVALVE; HL2SDKOBVALVE... and so on (take the others from *\msvc9\FlashTools.vcproj)
4) Correct the FBT extension. Add your own detours. 5) build the extension: - for linux: Set CD to the ext location and run make - for windows: Run \msvc9\FlashTools.vcproj and press "Build"
PS not sure but You may have problems with VS2013 and up. AFAIK some new libs are not ABI compatibile with old versions of SDK. MSVC12 should be nice. Got the proof: https://forums.alliedmods.net/showthread.php?p=2386052 :)
The project is configured, so You don't have to do anything else. And don't forget that You should use old versions of SDK, like 5 years old, or You won't get the extension compiled. The process is described in more detail here: https://wiki.alliedmods.net/Writing_extensions
|
Гости не могут скачивать файлы
|
Сообщение отредактировал Nail - Четверг, 28.12.2017, 09:28:00 |
| |
| |
|
AdabraIM
|
Дата: Пятница, 29.12.2017, 11:39:03 | Сообщение # 26 |
 |
Сообщений: 32
Репутация: 0 [ +/- ]
|
|
Hello again! I started recompiling sourcemod and I have done everything but stuck in the last part! When I type "ambuild" in the cmd it returns me such an error: C:\Users\ME\source\alliedmodders\sourcemod\build>ambuild Traceback (most recent call last): File "C:\Python27\Scripts\ambuild", line 27, in <module> main() File "C:\Python27\Scripts\ambuild", line 23, in main if not run.Build(os.path.abspath(folder), options, argv): File "C:\Python27\lib\site-packages\ambuild2\run.py", line 102, in Build with Context(buildPath, options, argv) as cx: File "C:\Python27\lib\site-packages\ambuild2\context.py", line 38, in __init__
with open(os.path.join(self.cacheFolder, 'vars'), 'rb') as fp: IOError: [Errno 2] No such file or directory: 'C:\\Users\\ME\\source\\alliedm odders\\sourcemod\\build\\.ambuild2\\vars'
What should I do now?help please Thanks a lot + Sorry for asking so much questions 
Сообщение отредактировал AdabraIM - Пятница, 29.12.2017, 11:40:11 |
| |
| |
|
aphrodit
|
Дата: Суббота, 30.12.2017, 09:39:04 | Сообщение # 27 |
 |
Сообщений: 12
Репутация: 0 [ +/- ]
|
|
Hi nail why you dont do this hard work ! please do it yourselt and just upload this project for us and finishe this trouble!!!!!
|
| |
| |
|
AdabraIM
|
Дата: Суббота, 30.12.2017, 17:25:24 | Сообщение # 28 |
 |
Сообщений: 32
Репутация: 0 [ +/- ]
|
|
I think Learning while doing something is really valuable...however you might not agree with. Any way I am looking for an answer to the ambuild problem...It is the last part and if I solve it or learn to solve I would reach this project. I dont think It would be very diffrent if I upload (after succeding) or Nail ! Nail Just Help me finish this... Thanks a lot 
|
| |
| |
|
aphrodit
|
Дата: Суббота, 30.12.2017, 19:41:12 | Сообщение # 29 |
 |
Сообщений: 12
Репутация: 0 [ +/- ]
|
|
ok I am waiting for you :/
|
| |
| |
|
Nail
|
Дата: Вторник, 02.01.2018, 17:51:30 | Сообщение # 30 |
 |
Сообщений: 38
Репутация: 8 [ +/- ]
|
|
AdabraIM, most likely the reconfiguration process was not successful. Try to run it again:
Код python ../configure.py --sdk And check the errors. Usually it happens when some pakages of the SDK don't exist or corrupted. Here is a list of the packages that You should have: 1) /SDK/hl2sdk-* (all the packages you need to build extensions for: hl2sdk-css, hl2sdk-tf2, hl2sdk-l4d2, hl2sdk-insurgency and so on, choose what You need) 2) /SDK/mmsource-1.10 (the version may be different, in my case only 1.10 is allowed) 3) /SDK/mysql-5.0 (the version may be different, in my case it's allowed to be mysql-5.*) 4) /SDK/sourcemod
Check the /SDK/sourcemod/AMBuildScript for valid location names: self.mysql_root for MySQL; self.mms_root for Metamod Source...
Сообщение отредактировал Nail - Вторник, 02.01.2018, 18:04:36 |
| |
| |