Raised This Month: $12 Target: $400
 3% 

MegaHAL ChatBot


Post New Thread Reply   
 
Thread Tools Display Modes
robotortoise
Senior Member
Join Date: Nov 2013
Old 07-14-2014 , 19:05   Re: MegaHAL ChatBot
Reply With Quote #51

sm_megahal_talk needs to be set to one, but he works.

He crashes a lot, but he works.
__________________
-Robotortoise [Palutena's Bro]

If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

Contact me via Steam

I don't bite.


How to loop and compress .wav files

Me and my friends' server
robotortoise is offline
Ownkruid
Senior Member
Join Date: Nov 2013
Old 07-16-2014 , 11:12   Re: MegaHAL ChatBot
Reply With Quote #52

Would this work on Windows aswell?
__________________




Ownkruid is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 07-16-2014 , 14:27   Re: MegaHAL ChatBot
Reply With Quote #53

Yeah, but as I said before, it crashes.
__________________
-Robotortoise [Palutena's Bro]

If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

Contact me via Steam

I don't bite.


How to loop and compress .wav files

Me and my friends' server
robotortoise is offline
metal_upa
Senior Member
Join Date: Jun 2016
Old 11-04-2016 , 14:24   Re: MegaHAL ChatBot
Reply With Quote #54

Someone that can be trusted please compile this extension for me https://forums.alliedmods.net/showpo...6&postcount=50 i don't have and don't know how to compile this file.

Compile for windows operating system.

Last edited by metal_upa; 11-04-2016 at 14:25.
metal_upa is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 11-04-2016 , 14:49   Re: MegaHAL ChatBot
Reply With Quote #55

Quote:
Originally Posted by metal_upa View Post
Someone that can be trusted please compile this extension for me https://forums.alliedmods.net/showpo...6&postcount=50 i don't have and don't know how to compile this file.

Compile for windows operating system.
Quote:
Originally Posted by extension.cpp
#ifdef _WIN32
#error "Implement win32 threading so we can work without ripping the server's throat out"
#endif
Someone would have to switch this extension to use the IThreader SM interface first.
Skipping through the code. The crashes are from accessing SP from a different thread. SM/SP is usually not thread safe. Better use ISourceMod::AddFrameAction.

Edit: Here's an updated version with the crashes fixed, plugin/include updated to SM 1.7 syntax and a windows build. The linux build in this package is still the old one, don't have time to compile that atm.
Attached Files
File Type: zip megahal.zip (345.7 KB, 174 views)
__________________

Last edited by Peace-Maker; 03-12-2018 at 08:11. Reason: Upload to the forums
Peace-Maker is offline
metal_upa
Senior Member
Join Date: Jun 2016
Old 11-05-2016 , 12:03   Re: MegaHAL ChatBot
Reply With Quote #56

Quote:
Originally Posted by Peace-Maker View Post
Someone would have to switch this extension to use the IThreader SM interface first.
Skipping through the code. The crashes are from accessing SP from a different thread. SM/SP is usually not thread safe. Better use ISourceMod::AddFrameAction.

Edit: Here's an updated version with the crashes fixed, plugin/include updated to SM 1.7 syntax and a windows build. The linux build in this package is still the old one, don't have time to compile that atm.
Very nice it worked on current csgo windows server. Thank you mate, you are truly a Peace-Maker.
metal_upa is offline
metal_upa
Senior Member
Join Date: Jun 2016
Old 11-06-2016 , 11:08   Re: MegaHAL ChatBot
Reply With Quote #57

Quote:
Originally Posted by Peace-Maker View Post
Someone would have to switch this extension to use the IThreader SM interface first.
Skipping through the code. The crashes are from accessing SP from a different thread. SM/SP is usually not thread safe. Better use ISourceMod::AddFrameAction.

Edit: Here's an updated version with the crashes fixed, plugin/include updated to SM 1.7 syntax and a windows build. The linux build in this package is still the old one, don't have time to compile that atm.
Hello there, it throw me the error.log file in csgo folder.
Code:
Copyright (C) 1998 Jason Hutchens
Start at: [2016/11/06 23:49:28]
load_model: Unable to open file `K:\Game\steamcmd\csgo\csgo\addons\sourcemod\megahal-ext/megahal.brn'save_model: Unable to open file `(ϯ\megahal.brn'
I don't know where is the megahal.brn file, i can't find it.
metal_upa is offline
enderandrew
Senior Member
Join Date: Jun 2020
Old 06-30-2020 , 21:36   Re: MegaHAL ChatBot
Reply With Quote #58

I know this is a necropost, but can someone please re-compile an Windows extension that will work with the current SM, or even better the 1.11 version?

https://forums.alliedmods.net/showpo...8&postcount=55
enderandrew is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode