Raised This Month: $42 Target: $400
 10% 

[L4D2] [Help] Object Spawer Fix/Easier


Post New Thread Reply   
 
Thread Tools Display Modes
Darkwob
Senior Member
Join Date: Oct 2018
Location: Actually nowhere
Old 04-06-2021 , 14:12   Re: [L4D2] [Help] Object Spawer Fix/Easier
Reply With Quote #11

by the way, I wasn't trying to be rude. I said it in gentle language. If it was a special plugin, then why did you share it from a place like github? (I'm Just Asking). I was not sure where it should be translated, since even the interpretation of many lines of code was made in Chinese when I was asked to translate. Also, we all know how shitty Google translet or other translation apps are.
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-06-2021 , 15:39   Re: [L4D2] [Help] Object Spawer Fix/Easier
Reply With Quote #12

In Github you are able to receive pull requests (e.g: code fixes), it also tracks all your code changes so makes it easier to check diff files between versions.
These are just simple examples, Github has a lot of other features.

SM forum is good to search for ready plugins and has some native integrations (like how many servers is using the plugin, how many downloads, plugin dependency reference)
and since is a forum the thread discussion UI is better (IMO).

Well, every tool has its cons and pros.

Both are good, but I gonna say that I prefer Github (even not having one) to store plugin files.
__________________
Marttt is offline
Darkwob
Senior Member
Join Date: Oct 2018
Location: Actually nowhere
Old 04-07-2021 , 08:00   Re: [L4D2] [Help] Object Spawer Fix/Easier
Reply With Quote #13

Quote:
Originally Posted by Marttt View Post
In Github you are able to receive pull requests (e.g: code fixes), it also tracks all your code changes so makes it easier to check diff files between versions.
These are just simple examples, Github has a lot of other features.

SM forum is good to search for ready plugins and has some native integrations (like how many servers is using the plugin, how many downloads, plugin dependency reference)
and since is a forum the thread discussion UI is better (IMO).

Well, every tool has its cons and pros.

Both are good, but I gonna say that I prefer Github (even not having one) to store plugin files.
Marttt bro, I know github is just a place that developers use a lot. I've never used it in my life, but I didn't want to break harry Potter, but like I said, I don't speak Chinese. Google translation we all know very well. How accurately does google Translate Chinese, which causes so many problems in English translations?:şok:
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
jeremyvillanueva
Member
Join Date: Jan 2021
Location: Lima
Old 04-10-2021 , 15:15   Re: [L4D2] [Help] Object Spawer Fix/Easier
Reply With Quote #14

Well I want to share my fork of the JetSetWilly II work on spawner on
vscript:
https://github.com/jeremyvillanuevar/vscripts_custom
I don't worry about what you think right now, I think that I'm prepared,
perhaps hp was on a bad situation, I will check on him,

But, you should sorry to harrypotter personally, that guy is one of the ones
that made me entering the scene to collaborate, because there are good people
in here that shares what they do with no hopes of expecting a return, I do love
this forum because I can feel the love in such a thing, he is the one who
used Github in here first (a collaborative development site),
sharing for everyone his work with no benefits,
like I said I'll check on him,

Best wishes to you all,

Also I want to add:
Quote:
Originally Posted by Spirit_12 View Post
I'm assuming English is not your first language so here is a word of advice. Try not to translate statements that use "but" over and over again. It's a contradicting word and doesn't come off that we'll
I know, right? in my native language I have banned that word so I use the english one which doesn't sound like the native one, I will try to eliminate it from using in English, thanks Spirit!!

Last edited by jeremyvillanueva; 04-12-2021 at 13:21.
jeremyvillanueva is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: TW
Old 04-11-2021 , 06:52   Re: [L4D2] [Help] Object Spawer Fix/Easier
Reply With Quote #15

Quote:
Originally Posted by Elite Biker View Post

I used: (w/Problems)
https://forums.alliedmods.net/showpo...03&postcount=1 [You maybe can find some uses].
- Problems:
- 1) Save system confusing. ("stripper", "routing" and "plugin_cache" on what should i save??) (I mean what's the point of the other's the better way is to save everything in one).
I prefer stripper, saveing objects in addons/stripper/maps/[mapname].cfg immediately
if you don't know what "stripper" is, download here

Quote:
- 3) No (Go back) in the spawner menu.
That's why I share my private work, I made a lots of new feature, including "back" option in menu.
https://github.com/fbef0102/L4D2-Plu...d2_spawn_props

Why chinese?
Because I didn't plan to make my work public at first,
I have done lots of work to translate English to Chinese for my own server.
And I'm lazy to translate all language codes back to English again.
If somebody is willing to translate, I'm very welcome, the codes are there in github. (Free to use)

Quote:
- 4) Confusing category's.
You can switch objects order in different category in data/l4d2_spawn_props_models.txt,
It is just a custom object list, add new objects or delete them.
__________________

Last edited by HarryPotter; 04-11-2021 at 06:54.
HarryPotter is offline
Darkwob
Senior Member
Join Date: Oct 2018
Location: Actually nowhere
Old 04-11-2021 , 12:25   Re: [L4D2] [Help] Object Spawer Fix/Easier
Reply With Quote #16

Quote:
Originally Posted by HarryPotter View Post
I prefer stripper, saveing objects in addons/stripper/maps/[mapname].cfg immediately
if you don't know what "stripper" is, download here


That's why I share my private work, I made a lots of new feature, including "back" option in menu.
https://github.com/fbef0102/L4D2-Plu...d2_spawn_props

Why chinese?
Because I didn't plan to make my work public at first,
I have done lots of work to translate English to Chinese for my own server.
And I'm lazy to translate all language codes back to English again.
If somebody is willing to translate, I'm very welcome, the codes are there in github. (Free to use)


You can switch objects order in different category in data/l4d2_spawn_props_models.txt,
It is just a custom object list, add new objects or delete them.
Harry bro, I'm sorry, can I ask you something? I've edited the places that say Chinese in the source code of your plugin for this topic with translation, but the argument gave too much error. can you publish an English translation version if you have time?
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 04-11-2021 , 13:42   Re: [L4D2] [Help] Object Spawer Fix/Easier
Reply With Quote #17

Why not just post the errors here so people can help you understand how to fix them yourself or point out what you did wrong?

It’s better to learn how to do things on your own than to rely on others to do everything for you.
__________________
AFK like JFK
Crasher_3637 is offline
Darkwob
Senior Member
Join Date: Oct 2018
Location: Actually nowhere
Old 04-12-2021 , 11:35   Re: [L4D2] [Help] Object Spawer Fix/Easier
Reply With Quote #18

Quote:
Originally Posted by Crasher_3637 View Post
Why not just post the errors here so people can help you understand how to fix them yourself or point out what you did wrong?

Itís better to learn how to do things on your own than to rely on others to do everything for you.
before I wrote Here, I already looked at where I made a mistake a few times, but I couldn't find it. I looked before and after the lines of code that were given an error, and I couldn't find any errors. I wrote everything down correctly. I thought I had a problem translating it in my local language, and this time I wrote it in English, and it gave me the same error again.

Quote:
//// l4d2_spawn_props.sp
//
// l4d2_spawn_props.sp(1433) : error 037: invalid string (possibly non-terminated string)
// l4d2_spawn_props.sp(1452) : error 035: argument type mismatch (argument 2)
// l4d2_spawn_props.sp(1452) : error 017: undefined symbol "b"
// l4d2_spawn_props.sp(1452) : error 029: invalid expression, assumed zero
// l4d2_spawn_props.sp(1452) : fatal error 190: too many error messages on one line
//
// Compilation aborted.
// 5 Errors.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_spawn_props.sp - 3 views - 84.3 KB)
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
Darkwob
Senior Member
Join Date: Oct 2018
Location: Actually nowhere
Old 04-12-2021 , 11:39   Re: [L4D2] [Help] Object Spawer Fix/Easier
Reply With Quote #19

all right, when I sober head, I solved the problem.
Darkwob is offline
Send a message via AIM to Darkwob Send a message via Yahoo to Darkwob Send a message via Skype™ to Darkwob
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 04-12-2021 , 11:55   Re: [L4D2] [Help] Object Spawer Fix/Easier
Reply With Quote #20

You should use some software like Notepad++ (set the language to c++) and you will notice that your string is missing quotes.

menu.AddItem("rotate15z", "15 derece dondur(Z ekseni)

should be
menu.AddItem("rotate15z", "15 derece dondur(Z ekseni)");

same goes for:
menu.AddItem("movedown10", 10 bırım asagi");

should be:
menu.AddItem("movedown10", "10 bırım asagi");
__________________

Last edited by Marttt; 04-12-2021 at 11:57.
Marttt 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 04:46.


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