208 Topics

Member Avatar for
Member Avatar for TheMightySpud

Hi all, I'm getting a strange error every time I try to send a score update using an rpc using Photon Unity Networking (And Unity3d). Here is the Error. RPC method 'RPC_SendScore(String, Single)' found 2x on object with PhotonView 1201. Only one component should implement it.Return type must be void …

Member Avatar for rproffitt
0
1K
Member Avatar for Johnny2x4

I need to know if there's a way (my intution tells me there isn't a fits-all solution) to accomplish this. I have in mind a Unity asset that I want to create. This asset requires that all of the developers scripts send and receive messages from my asset framework. Its …

Member Avatar for Dani
0
19
Member Avatar for tinstaafl

Basically this scheme uses variable offsets, but it generates the bytes on the fly. They aren't truly random, but there aren't any obvious patterns and the output passes all the NIST tests. Since a simple password can be used to do the de/encryption it is much easier to hand off …

Member Avatar for JamesCherrill
2
314
Member Avatar for Onion13

Working on a video game using visual studio and I am having trouble with the sound effect when the player shoots their weapon. When the player shoots multiple times, the sound overlaps. Ive tried many things and this was my last attempt. Can someone please help me? I am stuck. …

0
84
Member Avatar for Onion13

Learning C# and I am working on a C# scrolling shooting game. The game works so far but when the player finishes a level, I want the enemies to appear on the far right of the screen and the player on the left of the screen. When the level is …

Member Avatar for Onion13
0
299
Member Avatar for Onion13

Tryng to work on a program to make a menu on form1. What it will do is display the different things offered at the restaurant and the text will scrolll from the bottom of the screen to the top and then repeat. I was able to figure out how to …

Member Avatar for pritaeas
0
329
Member Avatar for priyamtheone

I'd like to know how the following programme on pointer written in C can be written in C#, especially how to use the keywords in the C programme like &i and \*p in C#. Please clarify. #include <stdio.h> void f(int *p, int *q) { p = q; *p = 2; …

Member Avatar for JamesCherrill
0
115
Member Avatar for Phillip_8

Hi guys, im making a chat app in C# I can get it to show time and text but the code im using shows PC username not login username of app Could someone please help me with the correct bit to put it Thanks in Advance if (textBoxSend.Text != "") …

Member Avatar for rproffitt
0
68
Member Avatar for Tima_2

Hey, Im working on the UNO game in python and am almost done with the rest of the code but I am not able to print the UNO logo as of yet. Please help. I need to submit my work tomorrow.

Member Avatar for rproffitt
0
35
Member Avatar for andre.jonker

Dear Friends, I have add resource file with number of images to my project. My question is, after deyploment and setup of the windows base application, i cannot I find resources file on the client pc, but the pictures are visible? Thank you in advance, André

Member Avatar for rproffitt
0
271
Member Avatar for KingGold171

Hi been working on this final piece of the puzzle and it seems like the last step is the hardest. So far been able to stop it from adding multiple items per button click (number of rows + 1) Update QTY count for first item only. Trying to have it …

Member Avatar for KingGold171
0
828
Member Avatar for Onion13

Making a scrolling game and I want to make a boss level. How do I make a picturebox invisible for 10 seconds and then appear?

Member Avatar for Onion13
0
136
Member Avatar for Onion13
Member Avatar for tinstaafl
1
67
Member Avatar for Onion13

I am learning to code and I have been working on a game using what I have learned to make it. So I have been making my version of R type C# game and got everything working so far but I run out of ideas how to make this part …

Member Avatar for Onion13
0
304
Member Avatar for Onion13

I've found many tutorials online for unity making homing missiles. I can't find one for people not using unity.

Member Avatar for rproffitt
0
300
Member Avatar for Onion13

Trying to make a game where explosions randomly appear on the screen using visual studio. I figured out how to make a single picture change location on the screen. So, I wanted to make the illusion of an explosion using imagelist. When I try to do it I get an …

Member Avatar for pritaeas
0
422
Member Avatar for C_Oleyers

Is their a program in which it will determine if a letter in a textbox is uppercase? This program is for Password checker as it will only be granted if the first letter is uppercase. ![Annotation_2020-08-05_120208.png](https://static.daniweb.com/attachments/4/3cfd7918ee048298773e5dfbb71a3c64.png) char[] v = Password.Text.ToCharArray(); //i want to check the first letter if its uppercase …

Member Avatar for pritaeas
0
58
Member Avatar for swathi sajja

I am using windows media player 9 and set the stretchtofit property to true.I find black areas on left and right side of video.My system has windows 10 and is set to 1280X720 resolution. I am using vs 2013. ![Sample.jpg](https://static.daniweb.com/attachments/4/45c8397429d9a2648379e71e0fa77848.jpg)

Member Avatar for rproffitt
0
104
Member Avatar for swathi sajja

Watching a Video on windows media player will produce black bars on the left and right. this.MPlayer.stretchToFit = true; AxWindowsMediaPlayer mPlayer = this.MPlayer; mPlayer.URL = "Location of a file"; Below attached file output of the code. Please suggest me how to change the aspect ratio of an Windows media player. …

Member Avatar for pritaeas
0
25
Member Avatar for mikecole79

I have been having nothing but trouble trying to get C# to read excel. I haven't even gotten to the writing part, but I imagine it's going to be a challenge, too. FYI, I'm pretty new at this, and don't have a ton of experience, so I'm sure I'm missing …

Member Avatar for jackflint
0
428
Member Avatar for C_Oleyers

Need help in getting the value inputed in the text box to work for if-else. I also program that the textbox will only alow numeric characters. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace OrderingSystem { public partial class …

Member Avatar for tinstaafl
0
238
Member Avatar for MagnusTheRed90

The following code is not working correctly. It is supposed to be associating an ip address of a user with a post's content, which in an online scenareo you know can be two different ip addresses. It is therefore showing exactly what was done with an account in the event …

Member Avatar for MagnusTheRed90
0
275
Member Avatar for Curious Gorge

I am confused about this. I am using Unity 2019.3.f1, Visual Studio Code and Visual Studio 2019 community. While attempting to build an ECS enabled game, I have run into these problems. 1. Multiple errors complaining that a namespace symbol can't be located (paraphrasing here, exact errors: CS0103, CS0426, etc.), …

Member Avatar for AndreRet
0
15
Member Avatar for MagnusTheRed90

I am trying to pass url parameters to an angular js page for page setup. I was wondering if anyone could tell me whether I am missing something from these two code samples. The following is some code from a game related program that I am writing. The $routeProvider parameter …

Member Avatar for MagnusTheRed90
0
133
Member Avatar for priyamtheone

## Basic workflow of my page ## [Image of Payment page](https://1drv.ms/u/s!Ava3iL9se3C3gTF_XJ_RiBBsWDHs) I have a payment page that has a name textbox (txtName), a PIN textbox (txtPin) and two textboxes (txtPaymentDate and txtPaymentTime) containing payment date and time respectively. The page also has a payment button (btnPay). txtName has a RequiredFieldValidator …

Member Avatar for priyamtheone
1
450
Member Avatar for MagnusTheRed90

I have a class which is sort of like a repository, and every time I write to the zip archive using this command, the prior activity is overwritten. /// <summary> /// Insert file into existing archive file. /// </summary> /// <param name="fullPath"></param> /// <param name="stream"></param> public void InsertIntoFile(String fullPath, Stream …

Member Avatar for MagnusTheRed90
0
96
Member Avatar for l1bero

Hi, there! Have a question right here. I've been preparing a project (Periodic table of Elements), so user by clicking on elements can access to another form which showing the element properties. Also, the user can search the element based on name, atomic number, year of discovered, and sign. Don't …

Member Avatar for rproffitt
0
161
Member Avatar for tinstaafl

There are times when you need to make sure your counter starts at an odd or even number. Even is pretty simple - `counter = counter + modulus(counter)`. If counter is even it stays, if it's odd it gets incremented by 1. Odd is a bit more complicated - `counter …

Member Avatar for holisticgroup19
3
4K
Member Avatar for kamilacbe

I have used GroupBy and have got the value as below into individual array but the array consist of 5 sets of same Id so how do group them futhure to get something like expected result below , any idea would be helpful [{ "id": 116, "amgId": 168755, "amgName": "FIT", …

Member Avatar for pritaeas
0
242
Member Avatar for Vin vin

I worked about 2 weeks with OpenTK and I like to know how to texture triangles. I like to give my program, the flexibility to make shapes like triangles, cubes, spheres and to give them different textures (or shaders). I like to give my window a icon, but it says …

Member Avatar for Vin vin
0
613

The End.